air-traffic
Returns a list of air traffic reports.
get/travel/analytics/air-traffic/busiest-period
Request
- Base URLhttps://test.api.amadeus.com/v1
- Authnone declared
Query parameters
cityCodestring required
Code for the city following IATA standard. IATA table codes - e.g. BOS for Boston
periodstring required
time period (year) of the statistics.
Year for which the statistic are requested following ISO 8601
direction'ARRIVING' | 'DEPARTING'
Use ARRIVING to have statistics on travelers coming to the city or DEPARTING for statistics on travelers leaving the city.
By default, statistics are given on travelers ARRIVING the city.
Response
Successful Operation
Example response
{
"meta": {
"count": 12,
"links": {
"self": "https://test.api.amadeus.com/v1/travel/analytics/air-traffic/busiest-period?cityCode=MAD&direction=ARRIVING&period=2017"
}
},
"data": [
{
"type": "air-traffic",
"period": "2017-05",
"analytics": {
"travelers": {
"score": 9
}
}
},
{
"type": "air-traffic",
"period": "2017-12",
"analytics": {
"travelers": {
"score": 9
}
}
},
{
"type": "air-traffic",
"period": "2017-09",
"analytics": {
"travelers": {
"score": 8
}
}
},
{
"type": "air-traffic",
"period": "2017-10",
"analytics": {
"travelers": {
"score": 8
}
}
},
{
"type": "air-traffic",
"period": "2017-07",
"analytics": {
"travelers": {
"score": 8
}
}
},
{
"type": "air-traffic",
"period": "2017-06",
"analytics": {
"travelers": {
"score": 8
}
}
},
{
"type": "air-traffic",
"period": "2017-02",
"analytics": {
"travelers": {
"score": 8
}
}
},
{
"type": "air-traffic",
"period": "2017-03",
"analytics": {
"travelers": {
"score": 8
}
}
},
{
"type": "air-traffic",
"period": "2017-01",
"analytics": {
"travelers": {
"score": 8
}
}
},
{
"type": "air-traffic",
"period": "2017-04",
"analytics": {
"travelers": {
"score": 8
}
}
},
{
"type": "air-traffic",
"period": "2017-08",
"analytics": {
"travelers": {
"score": 8
}
}
},
{
"type": "air-traffic",
"period": "2017-11",
"analytics": {
"travelers": {
"score": 8
}
}
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.