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 created api key. I am hitting api successfully and getting result same as on the http://business.skyscanner.net/portal/en-GB/Documentation/FlightsLivePricingQuickStart
I am hitting:-
But I need data(xml or json) with all direct flight airport available from provided city. like:-
<Airports>
<Airport
Id="BIN"
Name="Bamiyan"
CountryId="AF"
Location="67.823611, 34.804167"
CityId="BINA" />
</Airports>
Is this possible to get this type of data
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
After searching a lot and discussion with Skyscanner I finally found that no such api is provided by them.
But I have successfully implemented the Travel API, I know many of you searching for this so I am posting code here for all of you :)