openf1
Unofficial Rust client for the OpenF1 API.
All data comes from OpenF1. This crate is not affiliated with, endorsed by, or maintained by the OpenF1 project.
Install
[]
= "0.1.0"
= { = "1", = ["macros", "rt-multi-thread"] }
Requires Rust 1.96+.
Usage
Typed resource clients:
use ;
async
Query filters:
use ;
let client = new;
let laps = client
.laps
.list
.await?;
Resources
Covers all OpenF1 v1 endpoints: car_data, championship_drivers, championship_teams, drivers, intervals, laps, location, meetings, overtakes, pit, position, race_control, sessions, session_result, starting_grid, stints, team_radio, and weather.
Each resource exposes .list(params) and .list_csv(params).
Documentation
Full guides: openf1-client docs
License
Licensed under the EUPL-1.2.