| Crates.io | ergast_rust |
| lib.rs | ergast_rust |
| version | 0.1.0 |
| created_at | 2023-12-25 18:17:49.151144+00 |
| updated_at | 2023-12-25 18:17:49.151144+00 |
| description | Collection of utilities to fetch data from amazing F1 dataset, the Ergast API. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1080377 |
| size | 51,146 |
This repository offers an ergonomic Rust wrapper designed to seamlessly fetch JSON responses from The Ergast API, a comprehensive source for Formula 1 data.
// fetch results endpoint
let path = api::Path{year:2023, round:Some(1)};
let params = api::URLParams::default();
ergast::Ergast::results(path, params).await.unwrap();