×

Notice

The forum is in read only mode.

REST API: filter multiple ICAO24

2 years 6 months ago #1922 by dstappenbeck
Hi Guys,

just a stupid question for Using REST API...

The URL to get data for one airplane (CHX50) is for exampe: opensky-network.org/api/states/all?icao24=3e1205
For a SAR-Projekt I need to get also furher Positions, e.g. for CHX29, icao24=3e1679

There´s an instruction in documentation: openskynetwork.github.io/opensky-api/rest.html#request
To filter multiple ICAO24 append the property once for each address. If omitted, the state vectors of all aircraft are returned.

This tries ends without success:
a.) opensky-network.org/api/states/all?icao24=3e1205&icao24=3e1679
b.) opensky-network.org/api/states/all?icao24=3e1205,3e1679
c.) opensky-network.org/api/states/all?icao24=3e1205 3e1679
d.) opensky-network.org/api/states/all?icao24=3e12053e1679

I need some help for make the correct query url. Thanks in advance. :-)
2 years 6 months ago #1926 by dstappenbeck
Got it :-)

opensky-network.org/api/states/all?icao2...3df799&icao24=3df5af

Reply if all helicopters are grounded is:
{"time":1652265678,"states":null}
Powered by Kunena Forum