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

Converts given 32 bit Steam account id to 64 bit
Converts given 64 bit Steam account id to 32 bit
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.
Retrieves list of apps available on Steam. Each item consists of 2 fields: appid and name
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.
Retrieves list of apps available on Steam. First tries to get it from local cache. Each item consists of 2 fields: appid and name
Retrieves list of matches from Dota2