7 releases

0.2.2 Oct 19, 2024
0.2.1 Oct 13, 2024
0.1.3 Mar 21, 2024
0.1.1 Feb 28, 2024

#2 in #nyaa

Download history 18/week @ 2024-09-18 19/week @ 2024-09-25 18/week @ 2024-10-02 245/week @ 2024-10-09 217/week @ 2024-10-16 15/week @ 2024-10-23 14/week @ 2024-10-30 16/week @ 2024-11-06 9/week @ 2024-11-13 19/week @ 2024-11-20 30/week @ 2024-11-27 28/week @ 2024-12-04 41/week @ 2024-12-11 18/week @ 2024-12-18 4/week @ 2024-12-25 17/week @ 2025-01-01

87 downloads per month

Apache-2.0

26KB
688 lines

nyaa-si

Cargo Documentation

An async Nyaa client for Rust.

Usage

use nyaa_si::{Client, NyaaCategory, NyaaClient, QueryBuilder, Sort};

#[tokio::main]
async fn main() {
    let query = QueryBuilder::new()
        .search("tengoku")
        .sort(Sort::Downloads)
        .category(NyaaCategory::Anime)
        .build();

    let client = NyaaClient::new();
    let res = client.get(&query).await.unwrap();
    println!("{:#?}", res.get(0).unwrap());
}

Dependencies

~10–23MB
~344K SLoC