1 unstable release
0.1.0 | Dec 25, 2023 |
---|
#6 in #f1
21KB
547 lines
Introduction
This repository offers an ergonomic Rust wrapper designed to seamlessly fetch JSON responses from The Ergast API, a comprehensive source for Formula 1 data.
Basic Usage
// fetch results endpoint
let path = api::Path{year:2023, round:Some(1)};
let params = api::URLParams::default();
ergast::Ergast::results(path, params).await.unwrap();
lib.rs
:
ergast_rust
ergast_rust
is a collection of utilities to fetch data from amazing the Ergast API provides comprehensive Formula 1 dataset.
Dependencies
~6–18MB
~252K SLoC