apis
apis copied to clipboard
Website has been updated and scraper is broken, switched to XML feeds…
Integrated data feed to use the XML webservice which Kefairport.is is using. One setback is that the flight data array is always comprised of flights -1 hours and up to +36 hours. Waiting for more information on that.
Started preparing for v2, which could offer more features such as date, airline, destination filters. It would also be great to get more data such as images, IATA codes for airport and airlines and more.
v2 will also fix the dreadful response schema which seems to be always configured as an "arrival"
Thanks for the pull request, Petur! I apologize for the the late response.
Looking at the mock data from before kefairport.is changed their html (/mock-data.json:2731), it looks like the resulting JSON was only for the current day...?
I went on a hunt for the page that uses the XML you found, but I think I found a better source: https://www.isavia.is/json/flight/?airport=KEF&cargo=0&dateFrom=2018-05-17%2000%3A00&dateTo=2018-05-17%2023%3A59&language=is&departures=false -- found on isavia.is when changing the date.
I'm all for new features like you are proposing, but I'd suggest we fix the current endpoint first. That sould be farily easy using the json above.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@MiniGod @kristjanmik - This is ready!