API wrapper for the tankerkoenig-api written in rust.
The API of tankerkoenig gives you realtime fuel prices for germany with Creative Commons License. This rust wrapper provides you ready deserialized structs and an easy to use and strictly typed api.
This crate is under development. Especially the response parsing needs some more testing. However, if you still want to use it, you can install it by adding this to your Cargo.toml
:
```toml [dependencies] tankerkoenig = "0.1.0-rc.4"
tankerkoenig = { git = "https://github.com/jontze/tankerkoenig-rs" }
```
```rust use tankerkoenig::Tankerkoenig; use tankerkoenig::models;
async fn requeststationdetails() -> Result