13 unstable releases (3 breaking)

0.4.1 Feb 25, 2024
0.4.0 Feb 23, 2024
0.3.3 Feb 23, 2024
0.2.4 Nov 30, 2023
0.1.1 Nov 18, 2023

#1229 in Web programming

Download history 10/week @ 2024-09-23 3/week @ 2024-09-30 166/week @ 2024-12-02

166 downloads per month

MIT/Apache

1MB
2K SLoC

ugc-scraper

We have ugc api at home

Usage

use ugc_scraper::{Result, SteamID, UgcClient};

#[tokio::main]
async fn main() -> Result<()> {
    let client = UgcClient::new();
    let id = SteamID::from(76561198024494988);
    let player = client.player(id).await?;
    println!("{}", player.name);
    for team in player.teams {
        println!(
            "  {} playing {} since {}",
            team.team.name, team.league, team.since
        )
    }

    Ok(())
}

Dependencies

~12–26MB
~384K SLoC