A Python API for boardgamegeek.com
pip install bgg-api
Create an application and get the access token here.
from boardgamegeek import BGGClient
# access_token is recommended (soon to be required)
bgg = BGGClient(access_token="your_bgg_access_token")
game = bgg.game("Monopoly")
print(game.year) # 1935
print(game.rating_average) # 4.36166
# Install dependencies
pip install -r requirements/develop.txt
# Install pre-commit hooks
pre-commit install
# Run tests
pytest .
# Run tests with tox
tox
# Bump version (patch, minor, major)
bump2version patch
# Push to github
git push --tags origin master