| Crates.io | steam-profile |
| lib.rs | steam-profile |
| version | 0.2.1 |
| created_at | 2024-11-01 16:21:22.719216+00 |
| updated_at | 2025-01-12 14:44:14.537817+00 |
| description | A simple library to get basic profile statistics from steam |
| homepage | |
| repository | https://github.com/ElmerByte/steam-profile |
| max_upload_size | |
| id | 1432008 |
| size | 58,445 |
library uses ureq and scraper to retrive account information from a steam page
fn sync_example() {
use steam_profile::synclib::Profile;
let profile: Profile = Profile::get_full_profile("test" /*Name Id or URL*/);
profile.print_profile(); // Prints stats in a nice looking table
}
// requires async feature
async fn async_example() {
use steam_profile::asynclib::Profile;
let profile: Profile = Profile::get_full_profile("test" /*Name Id or URL*/).await;
profile.print_profile(); // Prints stats in a nice looking table
}