public class CategoryRatedAreas
extends java.lang.Object
A namespaced client for the
/v1/location/analytics/category-rated-areas endpoints.
Access via the Amadeus client object.
Amadeus amadeus = Amadeus.builder("clientId", "secret").build();
amadeus.location.analytics.categoryRatedAreas;| Constructor and Description |
|---|
CategoryRatedAreas(Amadeus client)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ScoredLocation[] |
get()
Convenience method for calling
get without any parameters. |
ScoredLocation[] |
get(Params params)
Provides a popularity scores
for a given latitude and longitude.
|
public CategoryRatedAreas(Amadeus client)
public ScoredLocation[] get(Params params) throws ResponseException
Provides a popularity scores for a given latitude and longitude.
amadeus.location.analytics.categoryRatedAreas.get(Params
.with("latitude", "41.397158")
.and("longitude", "2.160873");
params - the parameters to send to the APIResponseException - when an exception occurspublic ScoredLocation[] get() throws ResponseException
get without any parameters.ResponseExceptionget()