This package provides a client interface for consuming data from Steam Analyst's paid CS:GO API.
Via PyPi
$ pip install steamanalyst
from steamanalyst import LocalAPIResultRetriever
file_name = './results.json'
results = LocalAPIResultRetriever(file_name).results()
for result in results:
print result
Remote usage is very similar, however you will need to set an environment variable to authenticate with Steam Analyst's API. The environment variable is STEAM_ANALYST_KEY
.
On a Unix/Linux system you can set an environment variable in a couple of ways, a simple way being: $ export STEAM_ANALYST_KEY=yourapikeyhere
from steamanalyst import SteamAnalystAPIResultRetriever
results = SteamAnalystAPIResultRetriever().results()
for result in results:
print result
Please see CHANGELOG for more information what has changed recently.
The MIT License (MIT). Please see License File for more information.