- Notifications
You must be signed in to change notification settings - Fork1
A C# .NET wrapper for the OpenSky Network REST API
License
NotificationsYou must be signed in to change notification settings
steveberdy/OpenSky
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An easy-to-use, maintained C# .NET wrapper for the OpenSky Network REST API.
This wrapper includes many operations, including the following:
- Aircraft states, flights, and tracks
- Airport arrivals and departures
- Aircraft and airport registration information
- Aircraft information search
To use this, rundotnet add package OpenSky
in a .NET project.
Here is an example program once you've added the OpenSky package:
usingOpenSky;OpenSkyClientclient=new();// This is an expensive call, cache the response when applicableOpenSkyStatesstates=awaitclient.GetStatesAsync();foreach(varstateinstates.States){// Write each aircraft ICAO 24-bit transponder addressConsole.Write(state.Icao24+" ");}Console.WriteLine();