Request urls API | Method GET
[<https://content.view-travel.com/v3/api/airlines/>](<https://content.view-travel.com/v3/api/airlines/>)
List of parameters to search for airlines
| PARAMETERS | MANDATORY | TYPE | VALUES THAT CAN BE TAKEN |
|---|---|---|---|
| search | NO | string | Name, code airline |
Include in headers
headers: {
'Content-Type': 'application/json',
'Accept': 'application/json',
'Authorization': Bearer YOUR_TOKEN_REFRESH' ,
}
Response to the request
{
"count": 1014,
"current": 1,
"page_size": 50,
"total_pages": 21,
"page_numbers": [
1,
2,
3
],
"next_page_exist": true,
"next_page_number": 2,
"back_page_exist": false,
"back_page_number": null,
"results": [
{
"id": 2,
"code": "1B",
"name": "Abacus International",
"short_name": "Abacus (1B)",
"website": null
},
{
"id": 3,
"code": "I8",
"name": "Aboriginal Air Services",
"short_name": "Aboriginal Air (I8)",
"website": null
},
{
"id": 4,
"code": "WZ",
"name": "Acvila Air Romania",
"short_name": "Acvila Air (WZ)",
"website": null
},
.
.
.
]
}