A Python API for boardgamegeek.com
uv add bgg-apiOr with pip:
pip install bgg-apiCreate an application and get the access token here.
from boardgamegeek import BGGClient
bgg = BGGClient("<access_token_here>")
game = bgg.game("Monopoly")
print(game.year) # 1935
print(game.rating_average) # 4.36166# Install dependencies
uv sync --extra dev
# Install pre-commit hooks
uv run prek install
# Run tests
uv run pytest .
# Run tests with tox
uv run tox# Bump version (patch, minor, major)
bump2version patch
# Push to github
git push --tags origin master