#home #web-scraping #ugc-scraper #ugc-client

ugc-scraper-types

Scraper for ugcleague.com - data types

3 releases

0.1.2 Apr 11, 2025
0.1.1 Apr 11, 2025
0.1.0 Apr 11, 2025

#25 in #home

Download history 196/week @ 2025-04-05 168/week @ 2025-04-12 13/week @ 2025-04-19

377 downloads per month
Used in ugc-scraper

MIT/Apache

14KB
364 lines

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

~3.5–5.5MB
~100K SLoC