GeoSure API

Amadeus

getSafetyRanking

Returns safety score for a given location and radius.


/safety/safety-rated-locations/

Usage and SDK Samples

curl -X GET "https://v3.production.geosure.tech/safety/safety-rated-locations/?latitude=&longitude=&radius=&page[limit]=&page[offset]="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AmadeusApi;

import java.io.File;
import java.util.*;

public class AmadeusApiExample {

    public static void main(String[] args) {
        
        AmadeusApi apiInstance = new AmadeusApi();
        String latitude = latitude_example; // String | Latitude (decimal coordinates)
        String longitude = longitude_example; // String | Longitude (decimal coordinates)
        Integer radius = 56; // Integer | >- radius of the search in Kilometer. Can be from 0 to 20, default value is 1 Km.
        Integer page[limit] = 56; // Integer | maximum items in one page
        Integer page[offset] = 56; // Integer | start index of the requested page
        try {
            array[SafetyScoredLocations] result = apiInstance.getSafetyRanking(latitude, longitude, radius, page[limit], page[offset]);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AmadeusApi#getSafetyRanking");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AmadeusApi;

public class AmadeusApiExample {

    public static void main(String[] args) {
        AmadeusApi apiInstance = new AmadeusApi();
        String latitude = latitude_example; // String | Latitude (decimal coordinates)
        String longitude = longitude_example; // String | Longitude (decimal coordinates)
        Integer radius = 56; // Integer | >- radius of the search in Kilometer. Can be from 0 to 20, default value is 1 Km.
        Integer page[limit] = 56; // Integer | maximum items in one page
        Integer page[offset] = 56; // Integer | start index of the requested page
        try {
            array[SafetyScoredLocations] result = apiInstance.getSafetyRanking(latitude, longitude, radius, page[limit], page[offset]);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AmadeusApi#getSafetyRanking");
            e.printStackTrace();
        }
    }
}
String *latitude = latitude_example; // Latitude (decimal coordinates)
String *longitude = longitude_example; // Longitude (decimal coordinates)
Integer *radius = 56; // >- radius of the search in Kilometer. Can be from 0 to 20, default value is 1 Km. (optional) (default to 1)
Integer *page[limit] = 56; // maximum items in one page (optional) (default to 10)
Integer *page[offset] = 56; // start index of the requested page (optional) (default to 0)

AmadeusApi *apiInstance = [[AmadeusApi alloc] init];

// Returns safety score for a given location and radius.
[apiInstance getSafetyRankingWith:latitude
    longitude:longitude
    radius:radius
    page[limit]:page[limit]
    page[offset]:page[offset]
              completionHandler: ^(array[SafetyScoredLocations] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var GeoSureApi = require('geo_sure_api');

var api = new GeoSureApi.AmadeusApi()
var latitude = latitude_example; // {{String}} Latitude (decimal coordinates)
var longitude = longitude_example; // {{String}} Longitude (decimal coordinates)
var opts = { 
  'radius': 56, // {{Integer}} >- radius of the search in Kilometer. Can be from 0 to 20, default value is 1 Km.
  'page[limit]': 56, // {{Integer}} maximum items in one page
  'page[offset]': 56 // {{Integer}} start index of the requested page
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSafetyRanking(latitude, longitude, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSafetyRankingExample
    {
        public void main()
        {

            var apiInstance = new AmadeusApi();
            var latitude = latitude_example;  // String | Latitude (decimal coordinates)
            var longitude = longitude_example;  // String | Longitude (decimal coordinates)
            var radius = 56;  // Integer | >- radius of the search in Kilometer. Can be from 0 to 20, default value is 1 Km. (optional)  (default to 1)
            var page[limit] = 56;  // Integer | maximum items in one page (optional)  (default to 10)
            var page[offset] = 56;  // Integer | start index of the requested page (optional)  (default to 0)

            try
            {
                // Returns safety score for a given location and radius.
                array[SafetyScoredLocations] result = apiInstance.getSafetyRanking(latitude, longitude, radius, page[limit], page[offset]);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AmadeusApi.getSafetyRanking: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAmadeusApi();
$latitude = latitude_example; // String | Latitude (decimal coordinates)
$longitude = longitude_example; // String | Longitude (decimal coordinates)
$radius = 56; // Integer | >- radius of the search in Kilometer. Can be from 0 to 20, default value is 1 Km.
$page[limit] = 56; // Integer | maximum items in one page
$page[offset] = 56; // Integer | start index of the requested page

try {
    $result = $api_instance->getSafetyRanking($latitude, $longitude, $radius, $page[limit], $page[offset]);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AmadeusApi->getSafetyRanking: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AmadeusApi;

my $api_instance = WWW::SwaggerClient::AmadeusApi->new();
my $latitude = latitude_example; # String | Latitude (decimal coordinates)
my $longitude = longitude_example; # String | Longitude (decimal coordinates)
my $radius = 56; # Integer | >- radius of the search in Kilometer. Can be from 0 to 20, default value is 1 Km.
my $page[limit] = 56; # Integer | maximum items in one page
my $page[offset] = 56; # Integer | start index of the requested page

eval { 
    my $result = $api_instance->getSafetyRanking(latitude => $latitude, longitude => $longitude, radius => $radius, page[limit] => $page[limit], page[offset] => $page[offset]);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AmadeusApi->getSafetyRanking: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.AmadeusApi()
latitude = latitude_example # String | Latitude (decimal coordinates)
longitude = longitude_example # String | Longitude (decimal coordinates)
radius = 56 # Integer | >- radius of the search in Kilometer. Can be from 0 to 20, default value is 1 Km. (optional) (default to 1)
page[limit] = 56 # Integer | maximum items in one page (optional) (default to 10)
page[offset] = 56 # Integer | start index of the requested page (optional) (default to 0)

try: 
    # Returns safety score for a given location and radius.
    api_response = api_instance.get_safety_ranking(latitude, longitude, radius=radius, page[limit]=page[limit], page[offset]=page[offset])
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AmadeusApi->getSafetyRanking: %s\n" % e)

Parameters

Query parameters
Name Description
latitude*
String
Latitude (decimal coordinates)
Required
longitude*
String
Longitude (decimal coordinates)
Required
radius
Integer
>- radius of the search in Kilometer. Can be from 0 to 20, default value is 1 Km.
page[limit]
Integer
maximum items in one page
page[offset]
Integer
start index of the requested page

Responses

Status: 200 - Successful Operation

Status: 400 - code | title ------- | ------------------------------------- 477 | INVALID FORMAT 572 | INVALID OPTION 4926 | INVALID DATA RECEIVED 32171 | MANDATORY DATA MISSING

Status: 404 - Not Found

Status: 500 - Server Error


getSafetyRankingBySquare

This end points returns a detailed safety ranking of all the district within the designated area.


/safety/safety-rated-locations/by-square/

Usage and SDK Samples

curl -X GET "https://v3.production.geosure.tech/safety/safety-rated-locations/by-square/?north=&west=&south=&east=&page[limit]=&page[offset]="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AmadeusApi;

import java.io.File;
import java.util.*;

public class AmadeusApiExample {

    public static void main(String[] args) {
        
        AmadeusApi apiInstance = new AmadeusApi();
        String north = north_example; // String | Latitude north of bounding box (decimal coordinates)
        String west = west_example; // String | Longitude west of bounding box (decimal coordinates)
        String south = south_example; // String | Latitude south of bounding box (decimal coordinates)
        String east = east_example; // String | Longitude east of bounding box (decimal coordinates)
        Integer page[limit] = 56; // Integer | maximum items in one page
        Integer page[offset] = 56; // Integer | start index of the requested page
        try {
            array[SafetyScoredLocations] result = apiInstance.getSafetyRankingBySquare(north, west, south, east, page[limit], page[offset]);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AmadeusApi#getSafetyRankingBySquare");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AmadeusApi;

public class AmadeusApiExample {

    public static void main(String[] args) {
        AmadeusApi apiInstance = new AmadeusApi();
        String north = north_example; // String | Latitude north of bounding box (decimal coordinates)
        String west = west_example; // String | Longitude west of bounding box (decimal coordinates)
        String south = south_example; // String | Latitude south of bounding box (decimal coordinates)
        String east = east_example; // String | Longitude east of bounding box (decimal coordinates)
        Integer page[limit] = 56; // Integer | maximum items in one page
        Integer page[offset] = 56; // Integer | start index of the requested page
        try {
            array[SafetyScoredLocations] result = apiInstance.getSafetyRankingBySquare(north, west, south, east, page[limit], page[offset]);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AmadeusApi#getSafetyRankingBySquare");
            e.printStackTrace();
        }
    }
}
String *north = north_example; // Latitude north of bounding box (decimal coordinates)
String *west = west_example; // Longitude west of bounding box (decimal coordinates)
String *south = south_example; // Latitude south of bounding box (decimal coordinates)
String *east = east_example; // Longitude east of bounding box (decimal coordinates)
Integer *page[limit] = 56; // maximum items in one page (optional) (default to 10)
Integer *page[offset] = 56; // start index of the requested page (optional) (default to 0)

AmadeusApi *apiInstance = [[AmadeusApi alloc] init];

// This end points returns a detailed safety ranking of all the district within the designated area.
[apiInstance getSafetyRankingBySquareWith:north
    west:west
    south:south
    east:east
    page[limit]:page[limit]
    page[offset]:page[offset]
              completionHandler: ^(array[SafetyScoredLocations] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var GeoSureApi = require('geo_sure_api');

var api = new GeoSureApi.AmadeusApi()
var north = north_example; // {{String}} Latitude north of bounding box (decimal coordinates)
var west = west_example; // {{String}} Longitude west of bounding box (decimal coordinates)
var south = south_example; // {{String}} Latitude south of bounding box (decimal coordinates)
var east = east_example; // {{String}} Longitude east of bounding box (decimal coordinates)
var opts = { 
  'page[limit]': 56, // {{Integer}} maximum items in one page
  'page[offset]': 56 // {{Integer}} start index of the requested page
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSafetyRankingBySquare(north, west, south, east, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSafetyRankingBySquareExample
    {
        public void main()
        {

            var apiInstance = new AmadeusApi();
            var north = north_example;  // String | Latitude north of bounding box (decimal coordinates)
            var west = west_example;  // String | Longitude west of bounding box (decimal coordinates)
            var south = south_example;  // String | Latitude south of bounding box (decimal coordinates)
            var east = east_example;  // String | Longitude east of bounding box (decimal coordinates)
            var page[limit] = 56;  // Integer | maximum items in one page (optional)  (default to 10)
            var page[offset] = 56;  // Integer | start index of the requested page (optional)  (default to 0)

            try
            {
                // This end points returns a detailed safety ranking of all the district within the designated area.
                array[SafetyScoredLocations] result = apiInstance.getSafetyRankingBySquare(north, west, south, east, page[limit], page[offset]);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AmadeusApi.getSafetyRankingBySquare: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAmadeusApi();
$north = north_example; // String | Latitude north of bounding box (decimal coordinates)
$west = west_example; // String | Longitude west of bounding box (decimal coordinates)
$south = south_example; // String | Latitude south of bounding box (decimal coordinates)
$east = east_example; // String | Longitude east of bounding box (decimal coordinates)
$page[limit] = 56; // Integer | maximum items in one page
$page[offset] = 56; // Integer | start index of the requested page

try {
    $result = $api_instance->getSafetyRankingBySquare($north, $west, $south, $east, $page[limit], $page[offset]);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AmadeusApi->getSafetyRankingBySquare: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AmadeusApi;

my $api_instance = WWW::SwaggerClient::AmadeusApi->new();
my $north = north_example; # String | Latitude north of bounding box (decimal coordinates)
my $west = west_example; # String | Longitude west of bounding box (decimal coordinates)
my $south = south_example; # String | Latitude south of bounding box (decimal coordinates)
my $east = east_example; # String | Longitude east of bounding box (decimal coordinates)
my $page[limit] = 56; # Integer | maximum items in one page
my $page[offset] = 56; # Integer | start index of the requested page

eval { 
    my $result = $api_instance->getSafetyRankingBySquare(north => $north, west => $west, south => $south, east => $east, page[limit] => $page[limit], page[offset] => $page[offset]);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AmadeusApi->getSafetyRankingBySquare: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.AmadeusApi()
north = north_example # String | Latitude north of bounding box (decimal coordinates)
west = west_example # String | Longitude west of bounding box (decimal coordinates)
south = south_example # String | Latitude south of bounding box (decimal coordinates)
east = east_example # String | Longitude east of bounding box (decimal coordinates)
page[limit] = 56 # Integer | maximum items in one page (optional) (default to 10)
page[offset] = 56 # Integer | start index of the requested page (optional) (default to 0)

try: 
    # This end points returns a detailed safety ranking of all the district within the designated area.
    api_response = api_instance.get_safety_ranking_by_square(north, west, south, east, page[limit]=page[limit], page[offset]=page[offset])
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AmadeusApi->getSafetyRankingBySquare: %s\n" % e)

Parameters

Query parameters
Name Description
north*
String
Latitude north of bounding box (decimal coordinates)
Required
west*
String
Longitude west of bounding box (decimal coordinates)
Required
south*
String
Latitude south of bounding box (decimal coordinates)
Required
east*
String
Longitude east of bounding box (decimal coordinates)
Required
page[limit]
Integer
maximum items in one page
page[offset]
Integer
start index of the requested page

Responses

Status: 200 - Successful Operation

Status: 400 - code | title ------- | ------------------------------------- 477 | INVALID FORMAT 572 | INVALID OPTION 4926 | INVALID DATA RECEIVED 32171 | MANDATORY DATA MISSING

Status: 404 - Not Found

Status: 500 - Server Error


getSafetyRankingDetails

Retieve safety information of a location by its Id


/safety/safety-rated-location/

Usage and SDK Samples

curl -X GET "https://v3.production.geosure.tech/safety/safety-rated-location/?id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AmadeusApi;

import java.io.File;
import java.util.*;

public class AmadeusApiExample {

    public static void main(String[] args) {
        
        AmadeusApi apiInstance = new AmadeusApi();
        String id = id_example; // String | Location Id
        try {
            array[SafetyScoredLocations] result = apiInstance.getSafetyRankingDetails(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AmadeusApi#getSafetyRankingDetails");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AmadeusApi;

public class AmadeusApiExample {

    public static void main(String[] args) {
        AmadeusApi apiInstance = new AmadeusApi();
        String id = id_example; // String | Location Id
        try {
            array[SafetyScoredLocations] result = apiInstance.getSafetyRankingDetails(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AmadeusApi#getSafetyRankingDetails");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // Location Id

AmadeusApi *apiInstance = [[AmadeusApi alloc] init];

// Retieve safety information of a location by its Id
[apiInstance getSafetyRankingDetailsWith:id
              completionHandler: ^(array[SafetyScoredLocations] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var GeoSureApi = require('geo_sure_api');

var api = new GeoSureApi.AmadeusApi()
var id = id_example; // {{String}} Location Id

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSafetyRankingDetails(id, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSafetyRankingDetailsExample
    {
        public void main()
        {

            var apiInstance = new AmadeusApi();
            var id = id_example;  // String | Location Id

            try
            {
                // Retieve safety information of a location by its Id
                array[SafetyScoredLocations] result = apiInstance.getSafetyRankingDetails(id);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AmadeusApi.getSafetyRankingDetails: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAmadeusApi();
$id = id_example; // String | Location Id

try {
    $result = $api_instance->getSafetyRankingDetails($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AmadeusApi->getSafetyRankingDetails: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AmadeusApi;

my $api_instance = WWW::SwaggerClient::AmadeusApi->new();
my $id = id_example; # String | Location Id

eval { 
    my $result = $api_instance->getSafetyRankingDetails(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling AmadeusApi->getSafetyRankingDetails: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.AmadeusApi()
id = id_example # String | Location Id

try: 
    # Retieve safety information of a location by its Id
    api_response = api_instance.get_safety_ranking_details(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AmadeusApi->getSafetyRankingDetails: %s\n" % e)

Parameters

Query parameters
Name Description
id*
String
Location Id
Required

Responses

Status: 200 - Successful Operation

Status: 400 - code | title ------- | ------------------------------------- 477 | INVALID FORMAT 572 | INVALID OPTION 4926 | INVALID DATA RECEIVED 32171 | MANDATORY DATA MISSING

Status: 404 - Not Found

Status: 500 - Server Error


City

city

List of districts

By passing a wiki_city, you can retrieve the list of districts that belong to a city.


/city/

Usage and SDK Samples

curl -X GET "https://v3.production.geosure.tech/city/?wiki_city=&rescale="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CityApi;

import java.io.File;
import java.util.*;

public class CityApiExample {

    public static void main(String[] args) {
        
        CityApi apiInstance = new CityApi();
        String wikiCity = wikiCity_example; // String | Format: Q65
        Boolean rescale = true; // Boolean | Rescale scores values between 1-10
        try {
            array[City] result = apiInstance.city(wikiCity, rescale);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CityApi#city");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CityApi;

public class CityApiExample {

    public static void main(String[] args) {
        CityApi apiInstance = new CityApi();
        String wikiCity = wikiCity_example; // String | Format: Q65
        Boolean rescale = true; // Boolean | Rescale scores values between 1-10
        try {
            array[City] result = apiInstance.city(wikiCity, rescale);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CityApi#city");
            e.printStackTrace();
        }
    }
}
String *wikiCity = wikiCity_example; // Format: Q65
Boolean *rescale = true; // Rescale scores values between 1-10 (optional)

CityApi *apiInstance = [[CityApi alloc] init];

// List of districts
[apiInstance cityWith:wikiCity
    rescale:rescale
              completionHandler: ^(array[City] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var GeoSureApi = require('geo_sure_api');

var api = new GeoSureApi.CityApi()
var wikiCity = wikiCity_example; // {{String}} Format: Q65
var opts = { 
  'rescale': true // {{Boolean}} Rescale scores values between 1-10
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.city(wikiCity, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class cityExample
    {
        public void main()
        {

            var apiInstance = new CityApi();
            var wikiCity = wikiCity_example;  // String | Format: Q65
            var rescale = true;  // Boolean | Rescale scores values between 1-10 (optional) 

            try
            {
                // List of districts
                array[City] result = apiInstance.city(wikiCity, rescale);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CityApi.city: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCityApi();
$wikiCity = wikiCity_example; // String | Format: Q65
$rescale = true; // Boolean | Rescale scores values between 1-10

try {
    $result = $api_instance->city($wikiCity, $rescale);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CityApi->city: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CityApi;

my $api_instance = WWW::SwaggerClient::CityApi->new();
my $wikiCity = wikiCity_example; # String | Format: Q65
my $rescale = true; # Boolean | Rescale scores values between 1-10

eval { 
    my $result = $api_instance->city(wikiCity => $wikiCity, rescale => $rescale);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling CityApi->city: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CityApi()
wikiCity = wikiCity_example # String | Format: Q65
rescale = true # Boolean | Rescale scores values between 1-10 (optional)

try: 
    # List of districts
    api_response = api_instance.city(wikiCity, rescale=rescale)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CityApi->city: %s\n" % e)

Parameters

Query parameters
Name Description
wiki_city*
String
Format: Q65
Required
rescale
Boolean
Rescale scores values between 1-10

Responses

Status: 200 - search results matching criteria

Status: 400 - bad input parameter

Status: 401 - unathorized


Hotel

hotel

List of hotels

By passing in a bounding box, you can retrieve list of hotels that are within the bbox.


/hotel/

Usage and SDK Samples

curl -X GET "https://v3.production.geosure.tech/hotel/?bbox=&access_token="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HotelApi;

import java.io.File;
import java.util.*;

public class HotelApiExample {

    public static void main(String[] args) {
        
        HotelApi apiInstance = new HotelApi();
        String bbox = bbox_example; // String | Format: -180.0,-90.0,180.0,90.0
        String accessToken = accessToken_example; // String | Access token
        try {
            array[Hotel] result = apiInstance.hotel(bbox, accessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HotelApi#hotel");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.HotelApi;

public class HotelApiExample {

    public static void main(String[] args) {
        HotelApi apiInstance = new HotelApi();
        String bbox = bbox_example; // String | Format: -180.0,-90.0,180.0,90.0
        String accessToken = accessToken_example; // String | Access token
        try {
            array[Hotel] result = apiInstance.hotel(bbox, accessToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HotelApi#hotel");
            e.printStackTrace();
        }
    }
}
String *bbox = bbox_example; // Format: -180.0,-90.0,180.0,90.0
String *accessToken = accessToken_example; // Access token

HotelApi *apiInstance = [[HotelApi alloc] init];

// List of hotels
[apiInstance hotelWith:bbox
    accessToken:accessToken
              completionHandler: ^(array[Hotel] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var GeoSureApi = require('geo_sure_api');

var api = new GeoSureApi.HotelApi()
var bbox = bbox_example; // {{String}} Format: -180.0,-90.0,180.0,90.0
var accessToken = accessToken_example; // {{String}} Access token

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.hotel(bbox, accessToken, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class hotelExample
    {
        public void main()
        {

            var apiInstance = new HotelApi();
            var bbox = bbox_example;  // String | Format: -180.0,-90.0,180.0,90.0
            var accessToken = accessToken_example;  // String | Access token

            try
            {
                // List of hotels
                array[Hotel] result = apiInstance.hotel(bbox, accessToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling HotelApi.hotel: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiHotelApi();
$bbox = bbox_example; // String | Format: -180.0,-90.0,180.0,90.0
$accessToken = accessToken_example; // String | Access token

try {
    $result = $api_instance->hotel($bbox, $accessToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling HotelApi->hotel: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::HotelApi;

my $api_instance = WWW::SwaggerClient::HotelApi->new();
my $bbox = bbox_example; # String | Format: -180.0,-90.0,180.0,90.0
my $accessToken = accessToken_example; # String | Access token

eval { 
    my $result = $api_instance->hotel(bbox => $bbox, accessToken => $accessToken);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling HotelApi->hotel: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.HotelApi()
bbox = bbox_example # String | Format: -180.0,-90.0,180.0,90.0
accessToken = accessToken_example # String | Access token

try: 
    # List of hotels
    api_response = api_instance.hotel(bbox, accessToken)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling HotelApi->hotel: %s\n" % e)

Parameters

Query parameters
Name Description
bbox*
String
Format: -180.0,-90.0,180.0,90.0
Required
access_token*
String
Access token
Required

Responses

Status: 200 - search results matching criteria

Status: 400 - bad input parameter

Status: 401 - unathorized


Options

options

Gets list of personalization options

Get a list of options for languages and countries.


/options/

Usage and SDK Samples

curl -X GET "https://v3.production.geosure.tech/options/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.OptionsApi;

import java.io.File;
import java.util.*;

public class OptionsApiExample {

    public static void main(String[] args) {
        
        OptionsApi apiInstance = new OptionsApi();
        try {
            array[Options] result = apiInstance.options();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OptionsApi#options");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.OptionsApi;

public class OptionsApiExample {

    public static void main(String[] args) {
        OptionsApi apiInstance = new OptionsApi();
        try {
            array[Options] result = apiInstance.options();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling OptionsApi#options");
            e.printStackTrace();
        }
    }
}

OptionsApi *apiInstance = [[OptionsApi alloc] init];

// Gets list of personalization options
[apiInstance optionsWithCompletionHandler: 
              ^(array[Options] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var GeoSureApi = require('geo_sure_api');

var api = new GeoSureApi.OptionsApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.options(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class optionsExample
    {
        public void main()
        {

            var apiInstance = new OptionsApi();

            try
            {
                // Gets list of personalization options
                array[Options] result = apiInstance.options();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling OptionsApi.options: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiOptionsApi();

try {
    $result = $api_instance->options();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling OptionsApi->options: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::OptionsApi;

my $api_instance = WWW::SwaggerClient::OptionsApi->new();

eval { 
    my $result = $api_instance->options();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling OptionsApi->options: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.OptionsApi()

try: 
    # Gets list of personalization options
    api_response = api_instance.options()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling OptionsApi->options: %s\n" % e)

Parameters

Responses

Status: 200 - search results matching criteria

Status: 401 - unathorized


Reports

report

report experience

Report your experience on a location


/report/

Usage and SDK Samples

curl -X POST "https://v3.production.geosure.tech/report/?access_token="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ReportsApi;

import java.io.File;
import java.util.*;

public class ReportsApiExample {

    public static void main(String[] args) {
        
        ReportsApi apiInstance = new ReportsApi();
        String accessToken = accessToken_example; // String | Access token
        try {
            apiInstance.report(accessToken);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportsApi#report");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ReportsApi;

public class ReportsApiExample {

    public static void main(String[] args) {
        ReportsApi apiInstance = new ReportsApi();
        String accessToken = accessToken_example; // String | Access token
        try {
            apiInstance.report(accessToken);
        } catch (ApiException e) {
            System.err.println("Exception when calling ReportsApi#report");
            e.printStackTrace();
        }
    }
}
String *accessToken = accessToken_example; // Access token

ReportsApi *apiInstance = [[ReportsApi alloc] init];

// report experience
[apiInstance reportWith:accessToken
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var GeoSureApi = require('geo_sure_api');

var api = new GeoSureApi.ReportsApi()
var accessToken = accessToken_example; // {{String}} Access token

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.report(accessToken, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class reportExample
    {
        public void main()
        {

            var apiInstance = new ReportsApi();
            var accessToken = accessToken_example;  // String | Access token

            try
            {
                // report experience
                apiInstance.report(accessToken);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ReportsApi.report: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiReportsApi();
$accessToken = accessToken_example; // String | Access token

try {
    $api_instance->report($accessToken);
} catch (Exception $e) {
    echo 'Exception when calling ReportsApi->report: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ReportsApi;

my $api_instance = WWW::SwaggerClient::ReportsApi->new();
my $accessToken = accessToken_example; # String | Access token

eval { 
    $api_instance->report(accessToken => $accessToken);
};
if ($@) {
    warn "Exception when calling ReportsApi->report: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ReportsApi()
accessToken = accessToken_example # String | Access token

try: 
    # report experience
    api_instance.report(accessToken)
except ApiException as e:
    print("Exception when calling ReportsApi->report: %s\n" % e)

Parameters

Query parameters
Name Description
access_token*
String
Access token
Required

Responses

Status: 200 - report successfully saved

Status: 400 - bad input parameter

Status: 401 - unathorized


Score

score

scores for locations including personalization

By passing in a bounding box, you can retrieve geosure scores. Optionally pass in personal parameters for a personalized score.


/score/

Usage and SDK Samples

curl -X GET "https://v3.production.geosure.tech/score/?bbox=&id_list=&access_token=&travel_class=&travel_status=&familiarity=&citizenship=&birth=&gender=&languages=&autofilter=&rescale="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ScoreApi;

import java.io.File;
import java.util.*;

public class ScoreApiExample {

    public static void main(String[] args) {
        
        ScoreApi apiInstance = new ScoreApi();
        String accessToken = accessToken_example; // String | Access token
        String bbox = bbox_example; // String | Format: -180.0,-90.0,180.0,90.0 Required unless id_list is present.
        String idList = idList_example; // String | Return information only for the set of records that match the requested id. Format: 2,4,5
        String travelClass = travelClass_example; // String | Travel Class
        String travelStatus = travelStatus_example; // String | Travel Status/Usually Travels
        String familiarity = familiarity_example; // String | Familiarity
        String citizenship = citizenship_example; // String | Country of Citizenship
        String birth = birth_example; // String | Birth year
        String gender = gender_example; // String | Gender
        String languages = languages_example; // String | Comma separated list of languages in order of proficiency (two characters code)
        Boolean autofilter = true; // Boolean | Hide fine grained scores based on bbox (default=true)
        Boolean rescale = true; // Boolean | Rescale scores values between 1-10
        try {
            array[Score] result = apiInstance.score(accessToken, bbox, idList, travelClass, travelStatus, familiarity, citizenship, birth, gender, languages, autofilter, rescale);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScoreApi#score");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ScoreApi;

public class ScoreApiExample {

    public static void main(String[] args) {
        ScoreApi apiInstance = new ScoreApi();
        String accessToken = accessToken_example; // String | Access token
        String bbox = bbox_example; // String | Format: -180.0,-90.0,180.0,90.0 Required unless id_list is present.
        String idList = idList_example; // String | Return information only for the set of records that match the requested id. Format: 2,4,5
        String travelClass = travelClass_example; // String | Travel Class
        String travelStatus = travelStatus_example; // String | Travel Status/Usually Travels
        String familiarity = familiarity_example; // String | Familiarity
        String citizenship = citizenship_example; // String | Country of Citizenship
        String birth = birth_example; // String | Birth year
        String gender = gender_example; // String | Gender
        String languages = languages_example; // String | Comma separated list of languages in order of proficiency (two characters code)
        Boolean autofilter = true; // Boolean | Hide fine grained scores based on bbox (default=true)
        Boolean rescale = true; // Boolean | Rescale scores values between 1-10
        try {
            array[Score] result = apiInstance.score(accessToken, bbox, idList, travelClass, travelStatus, familiarity, citizenship, birth, gender, languages, autofilter, rescale);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ScoreApi#score");
            e.printStackTrace();
        }
    }
}
String *accessToken = accessToken_example; // Access token
String *bbox = bbox_example; // Format: -180.0,-90.0,180.0,90.0 Required unless id_list is present. (optional)
String *idList = idList_example; // Return information only for the set of records that match the requested id. Format: 2,4,5 (optional)
String *travelClass = travelClass_example; // Travel Class (optional)
String *travelStatus = travelStatus_example; // Travel Status/Usually Travels (optional)
String *familiarity = familiarity_example; // Familiarity (optional)
String *citizenship = citizenship_example; // Country of Citizenship (optional)
String *birth = birth_example; // Birth year (optional)
String *gender = gender_example; // Gender (optional)
String *languages = languages_example; // Comma separated list of languages in order of proficiency (two characters code) (optional)
Boolean *autofilter = true; // Hide fine grained scores based on bbox (default=true) (optional)
Boolean *rescale = true; // Rescale scores values between 1-10 (optional)

ScoreApi *apiInstance = [[ScoreApi alloc] init];

// scores for locations including personalization
[apiInstance scoreWith:accessToken
    bbox:bbox
    idList:idList
    travelClass:travelClass
    travelStatus:travelStatus
    familiarity:familiarity
    citizenship:citizenship
    birth:birth
    gender:gender
    languages:languages
    autofilter:autofilter
    rescale:rescale
              completionHandler: ^(array[Score] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var GeoSureApi = require('geo_sure_api');

var api = new GeoSureApi.ScoreApi()
var accessToken = accessToken_example; // {{String}} Access token
var opts = { 
  'bbox': bbox_example, // {{String}} Format: -180.0,-90.0,180.0,90.0 Required unless id_list is present.
  'idList': idList_example, // {{String}} Return information only for the set of records that match the requested id. Format: 2,4,5
  'travelClass': travelClass_example, // {{String}} Travel Class
  'travelStatus': travelStatus_example, // {{String}} Travel Status/Usually Travels
  'familiarity': familiarity_example, // {{String}} Familiarity
  'citizenship': citizenship_example, // {{String}} Country of Citizenship
  'birth': birth_example, // {{String}} Birth year
  'gender': gender_example, // {{String}} Gender
  'languages': languages_example, // {{String}} Comma separated list of languages in order of proficiency (two characters code)
  'autofilter': true, // {{Boolean}} Hide fine grained scores based on bbox (default=true)
  'rescale': true // {{Boolean}} Rescale scores values between 1-10
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.score(accessToken, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class scoreExample
    {
        public void main()
        {

            var apiInstance = new ScoreApi();
            var accessToken = accessToken_example;  // String | Access token
            var bbox = bbox_example;  // String | Format: -180.0,-90.0,180.0,90.0 Required unless id_list is present. (optional) 
            var idList = idList_example;  // String | Return information only for the set of records that match the requested id. Format: 2,4,5 (optional) 
            var travelClass = travelClass_example;  // String | Travel Class (optional) 
            var travelStatus = travelStatus_example;  // String | Travel Status/Usually Travels (optional) 
            var familiarity = familiarity_example;  // String | Familiarity (optional) 
            var citizenship = citizenship_example;  // String | Country of Citizenship (optional) 
            var birth = birth_example;  // String | Birth year (optional) 
            var gender = gender_example;  // String | Gender (optional) 
            var languages = languages_example;  // String | Comma separated list of languages in order of proficiency (two characters code) (optional) 
            var autofilter = true;  // Boolean | Hide fine grained scores based on bbox (default=true) (optional) 
            var rescale = true;  // Boolean | Rescale scores values between 1-10 (optional) 

            try
            {
                // scores for locations including personalization
                array[Score] result = apiInstance.score(accessToken, bbox, idList, travelClass, travelStatus, familiarity, citizenship, birth, gender, languages, autofilter, rescale);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ScoreApi.score: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiScoreApi();
$accessToken = accessToken_example; // String | Access token
$bbox = bbox_example; // String | Format: -180.0,-90.0,180.0,90.0 Required unless id_list is present.
$idList = idList_example; // String | Return information only for the set of records that match the requested id. Format: 2,4,5
$travelClass = travelClass_example; // String | Travel Class
$travelStatus = travelStatus_example; // String | Travel Status/Usually Travels
$familiarity = familiarity_example; // String | Familiarity
$citizenship = citizenship_example; // String | Country of Citizenship
$birth = birth_example; // String | Birth year
$gender = gender_example; // String | Gender
$languages = languages_example; // String | Comma separated list of languages in order of proficiency (two characters code)
$autofilter = true; // Boolean | Hide fine grained scores based on bbox (default=true)
$rescale = true; // Boolean | Rescale scores values between 1-10

try {
    $result = $api_instance->score($accessToken, $bbox, $idList, $travelClass, $travelStatus, $familiarity, $citizenship, $birth, $gender, $languages, $autofilter, $rescale);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ScoreApi->score: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ScoreApi;

my $api_instance = WWW::SwaggerClient::ScoreApi->new();
my $accessToken = accessToken_example; # String | Access token
my $bbox = bbox_example; # String | Format: -180.0,-90.0,180.0,90.0 Required unless id_list is present.
my $idList = idList_example; # String | Return information only for the set of records that match the requested id. Format: 2,4,5
my $travelClass = travelClass_example; # String | Travel Class
my $travelStatus = travelStatus_example; # String | Travel Status/Usually Travels
my $familiarity = familiarity_example; # String | Familiarity
my $citizenship = citizenship_example; # String | Country of Citizenship
my $birth = birth_example; # String | Birth year
my $gender = gender_example; # String | Gender
my $languages = languages_example; # String | Comma separated list of languages in order of proficiency (two characters code)
my $autofilter = true; # Boolean | Hide fine grained scores based on bbox (default=true)
my $rescale = true; # Boolean | Rescale scores values between 1-10

eval { 
    my $result = $api_instance->score(accessToken => $accessToken, bbox => $bbox, idList => $idList, travelClass => $travelClass, travelStatus => $travelStatus, familiarity => $familiarity, citizenship => $citizenship, birth => $birth, gender => $gender, languages => $languages, autofilter => $autofilter, rescale => $rescale);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ScoreApi->score: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ScoreApi()
accessToken = accessToken_example # String | Access token
bbox = bbox_example # String | Format: -180.0,-90.0,180.0,90.0 Required unless id_list is present. (optional)
idList = idList_example # String | Return information only for the set of records that match the requested id. Format: 2,4,5 (optional)
travelClass = travelClass_example # String | Travel Class (optional)
travelStatus = travelStatus_example # String | Travel Status/Usually Travels (optional)
familiarity = familiarity_example # String | Familiarity (optional)
citizenship = citizenship_example # String | Country of Citizenship (optional)
birth = birth_example # String | Birth year (optional)
gender = gender_example # String | Gender (optional)
languages = languages_example # String | Comma separated list of languages in order of proficiency (two characters code) (optional)
autofilter = true # Boolean | Hide fine grained scores based on bbox (default=true) (optional)
rescale = true # Boolean | Rescale scores values between 1-10 (optional)

try: 
    # scores for locations including personalization
    api_response = api_instance.score(accessToken, bbox=bbox, idList=idList, travelClass=travelClass, travelStatus=travelStatus, familiarity=familiarity, citizenship=citizenship, birth=birth, gender=gender, languages=languages, autofilter=autofilter, rescale=rescale)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ScoreApi->score: %s\n" % e)

Parameters

Query parameters
Name Description
bbox
String
Format: -180.0,-90.0,180.0,90.0 Required unless id_list is present.
id_list
String
Return information only for the set of records that match the requested id. Format: 2,4,5
access_token*
String
Access token
Required
travel_class
String
Travel Class
travel_status
String
Travel Status/Usually Travels
familiarity
String
Familiarity
citizenship
String
Country of Citizenship
birth
String
Birth year
gender
String
Gender
languages
String
Comma separated list of languages in order of proficiency (two characters code)
autofilter
Boolean
Hide fine grained scores based on bbox (default=true)
rescale
Boolean
Rescale scores values between 1-10

Responses

Status: 200 - search results matching criteria

Status: 400 - bad input parameter

Status: 401 - unathorized

Status: 405 - Method not allowed