lotr-api 0.2.1

Rust wrapper for the one API to rule them all.
Documentation

lotr-api-rs

This project is a Rust wrapper around the LOTR API.

Usage

There is more documentation available on the docs.rs page.

use lotr_api::Client;

#[tokio::main]
async fn main() {
    let client = Client::new("your-api-key");
    let book = client.get_book("5cf5805fb53e011a64671582").await.unwrap();
    println!("{:?}", book);
}

This minimal example will print the information about the LOTR books available on the API.

License

This project is licensed under the MIT license and Apache License 2.0.

Contributing

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in lotr-api-rs by you, shall be licensed as MIT and Apache 2.0, without any additional terms or conditions.

Having said that, every contribution is welcome and I look forward to your PRs and issues.