Skyscanner API for all airport locations and Travel API using CURL

后端 未结 2 2021
予麋鹿
予麋鹿 2021-01-03 11:30

I am trying to fetch geo catalogue data from skyscanner api. I have read documentation http://business.skyscanner.net/portal/en-GB/Documentation/ApiOverview

I have c

2条回答
  •  旧时难觅i
    2021-01-03 12:17

    As of May 2017. this fetches airport data:

    http://partners.api.skyscanner.net/apiservices/geo/v1.0?apiKey=aslkdjhfasdbfaodyf2309y232

    Change the dummy key of course.

    This gives you the xml You get a json dump if you do this:
    curl http://partners.api.skyscanner.net/apiservices/geo/v1.0?apiKey=aslkdjhfasdbfaodyf2309y232 > airports.json

提交回复
热议问题