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

#1643 in Web programming

Download history 20/week @ 2024-07-27 8/week @ 2024-08-03 12/week @ 2024-08-10 1/week @ 2024-08-17 5/week @ 2024-09-07 18/week @ 2024-09-14 23/week @ 2024-09-21 13/week @ 2024-09-28 23/week @ 2024-10-05 259/week @ 2024-10-12 199/week @ 2024-10-19 10/week @ 2024-10-26 18/week @ 2024-11-02 8/week @ 2024-11-09

247 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
~339K SLoC