Open gothy opened 5 years ago
I don't know if your question is still actual, but I had the same question and also got NO response by mail.
What I have learned: You can only query 12 hours with 1 request. The shift=0 parameter doesn't work.
You have to use the date parameter of today - 1 day and then set the shift to 23. Then you get what you want. Example: To get flights for 3rd December 00:00 - 01:00 set: &shift=23&date=2019-12-02. If you only need 2 hours of data, add &hours=2.
Another problem are timetable requests to airports with a different timezone. With some airports, the result is today - 1 day and with some not. Very strange and hardly to reproduce. I think it has something to do with the timezone of the requested airport and the current time and date-line-change (https://www.livescience.com/44292-international-date-line-explained.html). If someone has a solution, I would be happy!
Hi folks,
we've recently obtained the Premium account and trying to query airport's timetable like described here https://github.com/iatacodes/documentation/wiki/Timetable-v7
Is this an up to date description? We're struggling with
hours
andshift
params specifically. Whenshift
is set to0
, it looks like it's being ignored like as if was not provided at all. Other values, like1
works as expected.hours
param seems to work as expected only if thedate
param is specified.We need a way to paginate timetable from 00:00 to 23:59 by 2-4-6 hour periods. Pls help :)
PS. Please, check you mail info@airlabs.co I've sent this multiple times already by email.