papermc 0.1.0

PaperMc client, generated from the OpenAPI spec.
Documentation

PaperMC client, generated from the OpenAPI spec.

Usage

use papermc::PaperMcClient;
use papermc::model::*;
#[tokio::main]
async fn main() {
    let client = PaperMcClient::from_env();
    let response = client.projects().await.unwrap();
    println!("{:#?}", response);
}

This example loads configuration from environment variables, specifically:

Installation

Add this to your Cargo.toml:

[dependencies]
papermc = "0.1.0"

Documentation

You can see working examples of every API call in the examples/ directory.

Contributing

Contributions are welcome!

Library created with Libninja.