3 releases

0.4.2 May 29, 2025
0.4.1 May 24, 2025
0.2.0 Feb 4, 2025
0.1.3 Nov 30, 2024
0.1.0 Sep 30, 2024

#1118 in HTTP server

Download history 8/week @ 2025-02-12 10/week @ 2025-02-26 129/week @ 2025-04-30 17/week @ 2025-05-07 9/week @ 2025-05-14 140/week @ 2025-05-21 172/week @ 2025-05-28

349 downloads per month

MIT license

36KB
1K SLoC

ddapi is an api from the ddnet and qwik website

Installation

  cargo add ddapi-rs -F ddstats

Usage/Examples

use ddapi_rs::api::DDApi;
use ddapi_rs::api::ddstats::DDstats;

#[tokio::main]
async fn main() {
    let ddapi = DDApi::new();
    let player = "ByFox";
    let result = ddapi.s_player(player).await; // DDstats
    println!("{}: {}", player, result.unwrap().url());
}

Dependencies

~7–19MB
~247K SLoC