public class Traveled
extends java.lang.Object
A namespaced client for the
/v1/travel/analytics/air-traffic/traveled endpoints.
Access via the Amadeus client object.
Amadeus amadeus = Amadeus.builder("clientId", "secret").build();
amadeus.travel.analytics.airTraffis.traveled;| Modifier and Type | Method and Description |
|---|---|
AirTraffic[] |
get()
Convenience method for calling
get without any parameters. |
AirTraffic[] |
get(Params params)
Returns a list of air traffic reports.
|
public Traveled(Amadeus client)
public AirTraffic[] get(Params params) throws ResponseException
Returns a list of air traffic reports.
amadeus.travel.analytics.airTraffic.traveled.get(Params
.with("originCityCode", "LHR")
.and("period", "2017-03"));params - the parameters to send to the APIResponseException - when an exception occurspublic AirTraffic[] get() throws ResponseException
get without any parameters.ResponseExceptionget()