Sky Scanner

FREEMIUM
Por Things4u | Actualizada a day ago | Travel
Popularidad

9.9 / 10

Latencia

3,236ms

Nivel de servicio

100%

Health Check

N/A

Volver a todas las conversaciones

How to use flights/search-everywhere

Rapid account: Adjelekdav
adjelekdav
23 days ago

Hello,

I’m using the /search-everywhere API with the following request:
https://sky-scanner3.p.rapidapi.com/flights/search-everywhere?fromEntityId=eyJlIjoiMjc1MzY2MTMiLCJzIjoiWU1RQSIsImgiOiIyNzUzNjYxMyIsInQiOiJDSVRZIn0&year=2024&market=CA&currency=CAD&month=06

I receive the response, but I’m not sure how to access the details with the result.
What is the purpose of resultIds (for example, location-29475436)? How can I use the content of results?

Thanks

Rapid account: Ntd 119
ntd119 Commented 13 days ago

Olá joaoparrachito,

Você só precisa obter os dados da resposta da API e exibí-los no layout.

Rapid account: Joaoparrachito
joaoparrachito Commented 13 days ago

Olá como é que eu posso implementar a api de flights no meu site ?

Rapid account: Ntd 119
ntd119 Commented 20 days ago

Hi,

That was my mistake, I’ve just fixed it.

Thanks.

Rapid account: Adjelekdav
adjelekdav Commented 20 days ago

Hi, thanks but with this https://sky-scanner3.p.rapidapi.com/flights/search-roundtrip?market=CA&fromEntityId=eyJlIjoiMjc1MzY2MTMiLCJzIjoiWU1RQSIsImgiOiIyNzUzNjYxMyIsInQiOiJDSVRZIn0=&toEntityId=eyJlIjoiMjc1Mzk3MzMiLCJzIjoiUEFSSSIsImgiOiIyNzUzOTczMyIsInQiOiJDSVRZIn0=&wholeMonthDepart=2025-03&wholeMonthReturn=2025-03&currency=CAD
i got

{
“data”: null,
“errors”: {
“wholeMonthDepart”: “Do not input a month in the past”
},
“status”: false,
“message”: “Errors”
}

same for 2025-01,2025-02,2025-03,2025-04

Rapid account: Ntd 119
ntd119 Commented 20 days ago

Hi,
When testing without specify date (anytime).
It will select a default month as shown in the picture.

https://drive.google.com/file/d/1_YWmM1-S2MR-b0qHfNwH2DV3WYXz2xtA/view?usp=sharing

Thanks

Rapid account: Ntd 119
ntd119 Commented 20 days ago

Hi,

I just checked with the Skyscanner API. It is normally.

Thanks

Rapid account: Adjelekdav
adjelekdav Commented 21 days ago
Rapid account: Adjelekdav
adjelekdav Commented 21 days ago

THANKSSSS

Rapid account: Ntd 119
ntd119 Commented 21 days ago

Hi,

I just updated 2 endpoints: /flights/search-roundtrip and /flights/search-one-way.
You can now search
Everywhere: leave toEntityId empty.
Anytime: leave departDate and returnDate empty.
The whole month: input wholeMonthDepart and wholeMonthReturn.

Thanks.

Rapid account: Adjelekdav
adjelekdav Commented 21 days ago

Hi, is it possible to use everywhere api and specify also return year and return month please?
see example there https://docs.google.com/spreadsheets/d/1UB1KX1UzSePgDYi3J_K00lilWcHcvY36KBEzvT4m2eo/edit?usp=sharing

Thanks

Únase a la conversación, añada un comentario a continuación:

Inicie sesió/Regístrese para publicar nuevos comentarios