Welcome, Guest
Username: Password: Remember me

TOPIC: About timestamp begin - end in API get flights

About timestamp begin - end in API get flights 8 months 2 weeks ago #1037

  • crtst
  • crtst's Avatar
  • Offline
  • New Member
  • Posts: 16
Dear community,

I am complete newby here, but what I already saw and found out looks great (was able to connect to the Get State and Get Flights API).
But I am struggling with the timestamp, as it seems that in the GET /flights/all API it's only available with a time delay?

Setup:
- if I use for begin a timestamp now()-3600 and for end a timestamp now()-1200 I do not receive any values
- if I use the same function with begin a timestamp now()-500000 and for end a timestamp now()-498000 it works perfectly.
(note: 500.000 seconds are roughly 6 days)

Questions:
1.) How long can I go back to receive data?
2.) What's the minimum time distance I have to maintain to now() to receive data?

Thanks a lot (and sorry for asking, but in the opensky-network.org/apidoc/rest.html#id6 documentation was no hint about that)

Have a good evening,
Tobias
Last Edit: 8 months 2 weeks ago by crtst.
The administrator has disabled public write access.

About timestamp begin - end in API get flights 8 months 1 week ago #1038

  • strohmeier
  • strohmeier's Avatar
  • Online
  • Administrator
  • Posts: 162
  • Thank you received: 39
Flights are only calculated at night (UTC) for the previous day, so there's no set distance.
The administrator has disabled public write access.
The following user(s) said Thank You: crtst

About timestamp begin - end in API get flights 5 months 4 weeks ago #1131

  • PCate
  • PCate's Avatar
  • Offline
  • New Member
  • Posts: 2
Flights are only calculated at night (UTC) for the previous day, so there's no set distance.

Is this the case for Flights by Aircraft api at /flights/aircraft as well?
The administrator has disabled public write access.

About timestamp begin - end in API get flights 5 months 3 weeks ago #1132

  • strohmeier
  • strohmeier's Avatar
  • Online
  • Administrator
  • Posts: 162
  • Thank you received: 39
These serve the exact same flights (unless I missed something in your question).
The administrator has disabled public write access.
Powered by Kunena Forum
This website uses cookies to offer you the best experience of our services. By using this website you agree to our privacy policy!