Crate steam_store_api
source ·Expand description
Steam Store
An API client for the unofficial Steam Storefront resource, which provides methods to retrieve product information from the platform.
Example
use anyhow::Result;
use steam_store_api::prelude::*;
#[tokio::main]
async fn main() -> Result<()> {
let client = SteamBuilder::new()
.with_country_code("US")
.with_language(&Language::English)
.build()?;
let app = client.app(&219990_u64).await?;
println!("{:#?} - {:#?}", &app.app_id, &app.name);
anyhow::Ok(())
}
Modules
- Apps info.
- Apps package and DLC types.
- Prelude module, contains the most needed helpers from this library.
- Price and featured info.
- User’s reviews for apps.
- API client
- Contains helpers for types.