A Quick and Dirty Rust wrapper for cv19api
Wraps cv19api, a weekend project on Covid by the Lancaster Beer & Code collective.
Handles the following endpoints and returns an Ok(Response) for each. Each Endpoint has its own response type rather than making the trust and region fields optional.
{
{
}
}
{
{
}
}
{
{
}
}
Example
Quick and dirty usage
cargo run --example get_deaths
cargo run --example get_deaths_by_region
cargo run --example get_deaths_by_trust