Stars Build Status Downloads Crates.io

Spiget client, generated from the OpenAPI spec.

Usage

```rust use spiget::SpigetClient; use spiget::model::*;

[tokio::main]

async fn main() { let client = SpigetClient::fromenv(); let response = client .getauthors() .fields("your fields") .page(1.0) .size(1.0) .sort("your sort") .await .unwrap(); println!("{:#?}", response); } ```

This example loads configuration from environment variables, specifically:

Installation

Add this to your Cargo.toml:

toml [dependencies] spiget = "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.