Crates.io | consumet-api-rs |
lib.rs | consumet-api-rs |
version | 0.2.2 |
source | src |
created_at | 2023-07-19 22:41:55.867171 |
updated_at | 2023-08-02 17:07:55.507172 |
description | Consumet API RIIR |
homepage | |
repository | https://github.com/carrotshniper21/consumet-api-rs |
max_upload_size | |
id | 920768 |
size | 189,027 |
consumet-api-rs is a crates.io library which provides high-level APIs to get information about several entertainment mediums like books, movies, comics, anime, manga, etc.
Checkout the original consumet.ts
Credits to the beautiful people who wrote the original api consumet
To use consumet-api-rs in your project, run:
cargo install consumet-api-rs
Example - searching for a movie using the flixhq provider.
use consumet_api_rs::providers::movies;
// Create a new instance of the FlixHQ provider
let flixhq = movies::FlixHQ;
// Search for a movie. In this case, "Vincenzo"
let data = flixhq.search("Vincenzo", None).await?;
println!("{:#?}", data);
Do you want to know more? Head to the Getting Started
.
You can contact the maintainer of consumet-api-rs via email, or join the official discord server (Recommended).
Licensed under APACHE.