Scraper for ugcleague.com
  • HTML 96.9%
  • Rust 3%
Find a file
2026-03-26 23:44:23 +01:00
.forgejo/workflows workflow updates 2025-05-26 21:52:35 +02:00
api-server updates 2026-03-26 23:44:23 +01:00
archiver updates 2026-03-26 23:44:23 +01:00
data fmt 2025-05-26 21:15:53 +02:00
examples updates 2026-03-26 23:44:23 +01:00
nix updates 2026-03-26 23:44:23 +01:00
src updates 2026-03-26 23:44:23 +01:00
tests updates 2026-03-26 23:44:23 +01:00
types updates 2026-03-26 23:44:23 +01:00
.envrc init 2023-11-15 21:05:11 +01:00
.gitignore fix nix build 2025-05-26 21:52:35 +02:00
Cargo.lock updates 2026-03-26 23:44:23 +01:00
Cargo.toml updates 2026-03-26 23:44:23 +01:00
flake.lock flake update 2026-03-26 22:54:55 +01:00
flake.nix flake update 2026-03-26 22:54:55 +01:00
README.md updates 2026-03-26 23:44:23 +01:00

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_steam64(76561198024494988).unwrap();
    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(())
}