Module vatsim_utils::live_api
source · Expand description
Wrapper for the VATSIM APIs to get live data from the servers.
These functions are async, as they deal with HTTP requests. You’ll need to use an async runtime like tokio to run them.
See the struct docs for usage information.
§Example
use vatsim_utils::live_api::Vatsim;
let api = Vatsim::new().await.unwrap();
// use `api` ...
Structs§
- Struct containing access to the VATSIM live APIs - those listed on the VATSIM Developer Info wiki page.