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§
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