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§

app
Apps info.
package
Apps package and DLC types.
prelude
Prelude module, contains the most needed helpers from this library.
price
Price and featured info.
review
User’s reviews for apps.
steam
API client
types
Contains helpers for types.