5 releases
0.2.1 | Jan 12, 2025 |
---|---|
0.2.0 | Jan 12, 2025 |
0.1.6 | Nov 1, 2024 |
0.1.5 | Nov 1, 2024 |
0.1.0 | Nov 1, 2024 |
#51 in #profile
204 downloads per month
24KB
473 lines
A simple library to get basic profile statistics from steam
library uses ureq and scraper to retrive account information from a steam page
Features
- sync - on by default provides sync implimentation of this library
- async - provides async implimentation of this library
- print - on by default provides pretty print method for Profile
Examples
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
}
Dependencies
~8–17MB
~225K SLoC