Skip to content

AccessPointsApi

Method HTTP request
getCoordLonLatAccessPoints GET coord/{lon};{lat}/access_points
getCoordsLonLatAccessPoints GET coords/{lon};{lat}/access_points
getCoverageLonLatAccessPoints GET coverage/{lon};{lat}/access_points
getCoverageLonLatUriAccessPoints GET coverage/{lon};{lat}/{uri}/access_points
getCoverageRegionAccessPoints GET coverage/{region}/access_points
getCoverageRegionUriAccessPoints GET coverage/{region}/{uri}/access_points

getCoordLonLatAccessPoints

Parameters

Name Type Note
lat Double The latitude of where the coord you want to query
lon Double The longitude of where the coord you want to query
depth Int The depth of your object [optional] [default to 1]
count Int Number of objects per page [optional] [default to 25]
startPage Int The current page [optional]
forbiddenUris List forbidden uris [optional]

Return

AccessPoints

Example

ExpertSdk.getInstance().accessPointsApi.getCoordLonLatAccessPoints(
    lat = 0.0,
    lon = 0.0,
    depth = 123,
    count = 123,
    startPage = 123,
    forbiddenUris = listOf()
)

if (response.isSuccessful && response.body() != null) {  
    // Success
    val content = response.body()  
} else {  
    // Error
} 

getCoordsLonLatAccessPoints

Parameters

Name Type Note
lat Double The latitude of where the coord you want to query
lon Double The longitude of where the coord you want to query
depth Int The depth of your object [optional] [default to 1]
count Int Number of objects per page [optional] [default to 25]
startPage Int The current page [optional]
forbiddenUris List forbidden uris [optional]

Return

AccessPoints

Example

ExpertSdk.getInstance().accessPointsApi.getCoordsLonLatAccessPoints(
    lat = 0.0,
    lon = 0.0,
    depth = 123,
    count = 123,
    startPage = 123,
    forbiddenUris = listOf()
)

if (response.isSuccessful && response.body() != null) {  
    // Success
    val content = response.body()  
} else {  
    // Error
} 

getCoverageLonLatAccessPoints

Parameters

Name Type Note
lat Double The latitude of where the coord you want to query
lon Double The longitude of where the coord you want to query
depth Int The depth of your object [optional] [default to 1]
count Int Number of objects per page [optional] [default to 25]
startPage Int The current page [optional]
forbiddenUris List forbidden uris [optional]

Return

AccessPoints

Example

ExpertSdk.getInstance().accessPointsApi.getCoverageLonLatAccessPoints(
    lat = 0.0,
    lon = 0.0,
    depth = 123,
    count = 123,
    startPage = 123,
    forbiddenUris = listOf()
)

if (response.isSuccessful && response.body() != null) {  
    // Success
    val content = response.body()  
} else {  
    // Error
} 

getCoverageLonLatUriAccessPoints

Parameters

Name Type Note
lat Double The latitude of where the coord you want to query
lon Double The longitude of where the coord you want to query
uri String First part of the uri
depth Int The depth of your object [optional] [default to 1]
count Int Number of objects per page [optional] [default to 25]
startPage Int The current page [optional]
forbiddenUris List forbidden uris [optional]

Return

AccessPoints

Example

ExpertSdk.getInstance().accessPointsApi.getCoverageLonLatUriAccessPoints(
    lat = 0.0,
    lon = 0.0,
    uri = "uri_example",
    depth = 123,
    count = 123,
    startPage = 123,
    forbiddenUris = listOf()
)

if (response.isSuccessful && response.body() != null) {  
    // Success
    val content = response.body()  
} else {  
    // Error
} 

getCoverageRegionAccessPoints

Parameters

Name Type Note
region String The region you want to query
depth Int The depth of your object [optional] [default to 1]
count Int Number of objects per page [optional] [default to 25]
startPage Int The current page [optional]
forbiddenUris List forbidden uris [optional]

Return

AccessPoints

Example

ExpertSdk.getInstance().accessPointsApi.getCoverageRegionAccessPoints(
    region = "region_example",
    depth = 123,
    count = 123,
    startPage = 123,
    forbiddenUris = listOf()
)

if (response.isSuccessful && response.body() != null) {  
    // Success
    val content = response.body()  
} else {  
    // Error
} 

getCoverageRegionUriAccessPoints

Parameters

Name Type Note
region String The region you want to query
uri String First part of the uri
depth Int The depth of your object [optional] [default to 1]
count Int Number of objects per page [optional] [default to 25]
startPage Int The current page [optional]
forbiddenUris List forbidden uris [optional]

Return

AccessPoints

Example

ExpertSdk.getInstance().accessPointsApi.getCoverageRegionUriAccessPoints(
    region = "region_example",
    uri = "uri_example",
    depth = 123,
    count = 123,
    startPage = 123,
    forbiddenUris = listOf()
)

if (response.isSuccessful && response.body() != null) {  
    // Success
    val content = response.body()  
} else {  
    // Error
}