steam_store_api

Crates.iosteam_store_api
lib.rssteam_store_api
version0.1.0
sourcesrc
created_at2024-01-04 02:01:44.683348
updated_at2024-01-04 02:01:44.683348
descriptionSafe Rust bindings for the Steam Store API
homepage
repositoryhttps://github.com/wr8fdy/steam_store_api
max_upload_size
id1088002
size74,075
(wr8fdy)

documentation

README

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(())
}
Commit count: 0

cargo fmt