Giter VIP home page Giter VIP logo

carrotshniper21 / consumet.rs Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 2.0 218 KB

About Crates.io library that provides high-level APIs for obtaining information on various entertainment media such as books, movies, comic books, anime, manga, and so on.

Home Page: https://consumet.org/extensions/list/

License: GNU General Public License v3.0

Rust 100.00%
anilist anime anime-list api books crates-io light-novels manga manga-api movies

consumet.rs's Introduction

consumet.rs

consumet.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.

Clippy Test GitHub Official Discord

Table of Contents

Quick Start

Installation

To use consumet.rs in your project, run:

cargo install consumet

Usage

Example - searching for a movie using the flixhq provider.

use consumet::providers::movies;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    // 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);

    Ok(())
}

Cargo.toml

[package]
name = "<your_package_name>"
version = "0.0.1"
edition = "2021"

[dependencies]
consumet = "0.0.11"
tokio = { version = "1.0", features = ["full"] }
anyhow = "1.0.79"

Do you want to know more? Head to the Getting Started.

Documentation

Ecosystem

Support

You can contact the maintainer of consumet.rs via email, or join the official discord server (Recommended).

Contributors

Checkout the original consumet.ts

Credits to the beautiful people who wrote the original consumet.ts

License

Licensed under GPL-3.0.

consumet.rs's People

Contributors

carrotshniper21 avatar eatmynerds avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.