Crate steam_webapi_rust_sdk

Source
Expand description

§Steam Web API Rust SDK

steam-webapi-rust-sdk is a set of utility functions to access Steam Web API.

In order to use this library make sure to set STEAM_WEB_API_KEY system environment variable.

The library itself tries to minimize number of networks calls through the caching relevant responses to the ‘steam-webapi-cache’ folder.

There is already prebuilt cache for all steam apps, in order to use it, simply clone steam-webapi-cache into the root folder of your project.

Modules§

idota2match_570
isteam_apps
store_steampowered_com
util

Functions§

convert_32bit_account_id_to_64bit
Converts given 32 bit Steam account id to 64 bit
convert_64bit_account_id_to_32bit
Converts given 64 bit Steam account id to 32 bit
get_app_details
Retrieves details for the given app id. It will make an API call to Steam and cache response. It may return an error if API responded with error response. As an example it may be exceeding the limit of calls from one IP address or if the response contains not valid UTF-8 characters. Usually Steam API allows 200 requests from single IP address within 5 minutes range.
get_app_list
Retrieves list of apps available on Steam. Each item consists of 2 fields: appid and name
get_cached_app_details
Retrieves details for the given app id from the local cache. It may return an error if requested resource is absent, malformed or not readable from local cache.
get_cached_app_list
Retrieves list of apps available on Steam. First tries to get it from local cache. Each item consists of 2 fields: appid and name
get_dota2_match_history
Retrieves list of matches from Dota2