lotr-api

Crates.iolotr-api
lib.rslotr-api
version0.2.1
created_at2023-09-05 23:49:11.19626+00
updated_at2024-12-25 16:09:24.108189+00
descriptionRust wrapper for the one API to rule them all.
homepagehttps://github.com/Yag000/lotr-api-rs
repositoryhttps://github.com/Yag000/lotr-api-rs
max_upload_size
id964922
size66,897
Yago Iglesias (Yag000)

documentation

https://docs.rs/lotr_api

README

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.

Commit count: 125

cargo fmt