16 releases

0.4.4 Apr 11, 2025
0.4.3 Apr 11, 2025
0.4.1 Feb 25, 2024
0.3.3 Feb 23, 2024
0.1.1 Nov 18, 2023

#1339 in Web programming

Download history 377/week @ 2025-04-09 36/week @ 2025-04-16 2/week @ 2025-04-30 23/week @ 2025-05-07 34/week @ 2025-05-14

63 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–30MB
~360K SLoC