#data #helper #structure #api #commit #definition #flight-radar24

bin+lib flightradar24-api

API Wrapper for FlightRadar24 data

2 unstable releases

0.2.0 Feb 27, 2025
0.1.0 Feb 19, 2025

#1297 in Web programming

Download history 141/week @ 2025-02-19 158/week @ 2025-02-26

299 downloads per month

MIT/Apache

40KB
867 lines

flightradar24-api

Rust crate for utilizing the FlightRadar24 API. All provided functionality from the API is implemented but some helper functionality is missing.

API information can be found here.

Structure definitions are built from schemas provided here.

This crate has been switched off of async, scrolling far enough back in the commits will allow for you to find an async implementation.

Usage

Add dependency to Cargo.toml:

[dependencies]
flightradar24_api = "0.1.0"

To start using this crate in your code:

use flightradar24_api::client::*;
let api_key = STRING_API_KEY;
let client = FlightRadarClient::new(api_key);

After this, functionality can be called however you'd like.

Testing

The provided cargo tests are mainly for ensuring the parsers are able to get accurate data back in the structures. Please note that these will error out if run in quick succession as you are exceeding the rate limit.

Tests can be run with cargo test.

Notes

This package is not associated with FlightRadar24, please use at your own risk.

Dependencies

~5–21MB
~240K SLoC