Steam Stats API ¶
Retrieves Steam User Stats using Steam Web API
logger = logging.getLogger(__name__) module-attribute ¶
REQUEST_TIMEOUT = (25, 30) module-attribute ¶
MAX_RETRIES = 5 module-attribute ¶
PLAYER_SUMMARIES = 'https://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/' module-attribute ¶
RECENTLY_PLAYED_GAMES = 'https://api.steampowered.com/IPlayerService/GetRecentlyPlayedGames/v0001/' module-attribute ¶
get_player_summaries() ¶
Get Player Summaries from Steam for basic profile info for a list of 64-bit Steam IDs
Source code in api/steam_stats.py
get_recently_played_games() ¶
Fetch a list of games a player has played in the last two weeks
Source code in api/steam_stats.py
Source Code ¶
View the complete source code for this module on GitHub: api/steam_stats.py