This repository contains Python code to match Steam tags with appIDs.
The code is packaged for PyPI, so that the installation consists in running:
pip install steamtags
Ideally, data is loaded from a local cache.
Data is downloaded (and cached) if the local cache is:
- either unavailable,
- or obsolete, i.e. downloaded on a previous day.
import steamtags
genres_dict, tags_dict = steamtags.load()
Caveat: in the use case described below, data is not locally cached!
SteamSpy provides several Top-100 game rankings:
top100in2weeks
, with respect to the number of players in the last two weekstop100forever
, with respect to the number of players since March 2009top100owned
, with respect to the estimated number of owners
These rankings can be used to retrieve and aggregate genres and tags, as such:
import steamtags
genres_dict, tags_dict = steamtags.download(data_source='top100in2weeks')
- An exhaustive list of tags can be found in
steam-labs-recommender
. gamedatacrunch
@PyPI: an API to download data through GameDataCrunch API.steamspypi
@PyPI: an API to download data through SteamSpy API.