PaperMC client, generated from the OpenAPI spec.
```rust use papermc::PaperMcClient; use papermc::model::*;
async fn main() { let client = PaperMcClient::from_env(); let response = client.projects().await.unwrap(); println!("{:#?}", response); } ```
This example loads configuration from environment variables, specifically:
Add this to your Cargo.toml:
toml
[dependencies]
papermc = "0.1.0"
You can see working examples of every API call in the examples/
directory.
Contributions are welcome!
Library created with Libninja.