Request urls API | Method GET
[<https://content.view-travel.com/v3/api/search-entity-library/>](<https://content.view-travel.com/v3/api/search-entity-library/>)
List of parameters to perform filters and searches
| PARAMETERS | MANDATORY | TYPE | VALUES THAT CAN BE TAKEN |
|---|---|---|---|
| query | NO | string | Title, name of the activity |
| page | YES | integer | Page number. It takes a default value of 1 |
| category_code | YES | integer | It can take values of (-1,1,2,3,4) see table category of restaurants |
| category_type | YES | string | category type "restaurants” |
| arrivals | YES | string | City IATA code ex. (LIM) |
| language_code | YES | string | You can search in three languages: English (en), Spanish (es), Portuguese (pt) |
| booking_engine | YES | integer | It takes a default value of 0 |
Category of restaurants
| ID | Category name |
|---|---|
| -1 | All the Restaurants |
| 1 | Restaurants Economy ( 0 - 20 US$ ) |
| 2 | Restaurants Medium ( 20 - 50 US$ ) |
| 3 | Restaurants Premium ( 50 - 100 US$ ) |
| 4 | Restaurants Luxory ( +100 US$ ) |
Include in headers
headers: {
'Content-Type': 'application/json',
'Accept': 'application/json',
'Authorization': 'Bearer YOUR_TOKEN_REFRESH',
'Accept-Language': 'en'
}
Only parameters to send the request
[<https://content.view-travel.com/v3/api/search-entity-library/>
?query=&page=1&category_code=-1&category_type=restuarants&arrivals=MEX
&language_code=es&booking_engine=0](<https://content.view-travel.com/v3/api/search-entity-library/?query=&page=1&category_code=-1&category_type=activities&arrivals=MEX&language_code=es&booking_engine=0>)
{
"data": [
{
"id": "",
"title": "Sir Winston Churchill's",
"price": {
"currency_code": null,
"value": null,
"formatted_value": null,
"formatted_iso_value": null
},
"price1": 150.0,
"description": "SIR WINSTON CHURCHILL´S, es una historia de AMOR que comienza en Londres hace 40 años cuando Rey Fernández Ruiz, un valiente y atrevido empresario de la ciudad de México encontró una rosa inglesa, Jane Pearson y la trasplantó a tierra mexicana, creando entre ellos un ¡OASIS BRITÁNICO EN EL CORAZÓN DE LA CIUDAD DE MÉXICO!.CHURCHILL´S es una importante mansión estilo Tudor inglés rodeada de jardines y situada en el área de Polanco. El restaurante reúne lo mejor de dos mundos. El orden y perfección Europea combinado con la hospitalidad latina de las Américas. El recibimiento a los clientes es muy cordial y el servicio impecable. El menú refleja la cocina tradicional de la vieja Inglaterra junto con la sazón de México, sus frutas exóticas y mariscos frescos. El Roast Beef está horneado en la forma clásica, servido con Yorkshire Pudding y salsa de Raíz Fuerte, El Filete Wellington. Los entremeses favoritos son: Escalopas de Abulón, Paté de Salmón y Trucha ahumados.",
"direction": "Blvd. Manuel Avila Camacho 67, Polanco, Mexico City 11560, Mexico",
"number": "+52 55 5280 6070",
"cuisine": "Internacional, Europea, Británica, Opciones vegetarianas",
"meals": "Cenas, Abierto hasta tarde",
"features": null,
"good_for": "Grupos grandes, Familias con niños, Reuniones de negocios, Ocasiones especiales, Romántico",
"category": {
"id": 2,
"name": "Restaurantes",
"code": "restaurants"
},
"photo": {
"id": 530720,
"images": {
"small": "/media/destinos/inspiravia/photos/viewtravel-530720-s.jpg",
"median": "/media/destinos/inspiravia/photos/viewtravel-530720-m.jpg",
"big": "/media/destinos/inspiravia/photos/viewtravel-530720-l.jpg"
}
},
"city": {
"id": 926,
"name": "Ciudad de Mexico",
"full_name": "Ciudad de Mexico: Mexico",
"code": "MEX",
"musement_id": 195,
"country": {
"id": 147,
"name": "Mexico",
"code": "MX"
}
},
"external_id": 120446,
"category_type": "restaurants"
},
.
.
.
],
"page_numbers": [
1,
2,
3
],
"previous": false,
"page_current": 1,
"has_next": true,
"number": 1,
"cantidad": 1789,
"category_type": "restaurants",
"city": {
"id": 926,
"name": "Ciudad de Mexico",
"full_name": "Ciudad de Mexico: Mexico",
"code": "MEX",
"musement_id": 195,
"country": {
"id": 147,
"name": "Mexico",
"code": "MX"
}
},
"category": {
"id": 2,
"name": "Restaurantes",
"code": "restaurants"
}
}
Note: The Restaurant ID is the external_id