steam_store_api 0.1.0

Safe Rust bindings for the Steam Store API
Documentation

steam_store_api

A wrapper for the Steam Store API in Rust.

This is based on 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(())
}