Sky Scanner

ÜCRETSİZ PREMIUM
Taraf Things4u | Güncelleyen 3日前 | Travel
Popülerlik

9.9 / 10

Gecikme

2,931ms

Hizmet Düzeyi

100%

Health Check

N/A

Tüm Tartışmalara Dön

How to use flights/search-everywhere

Rapid account: Adjelekdav
adjelekdav
1ヶ月前

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 20日前

Olá joaoparrachito,

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

Rapid account: Joaoparrachito
joaoparrachito Commented 20日前

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

Rapid account: Ntd 119
ntd119 Commented 1ヶ月前

Hi,

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

Thanks.

Rapid account: Adjelekdav
adjelekdav Commented 1ヶ月前

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 1ヶ月前

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 1ヶ月前

Hi,

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

Thanks

Rapid account: Adjelekdav
adjelekdav Commented 1ヶ月前
Rapid account: Adjelekdav
adjelekdav Commented 1ヶ月前

THANKSSSS

Rapid account: Ntd 119
ntd119 Commented 1ヶ月前

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 1ヶ月前

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

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun