A Python API for boardgamegeek.com
Project description
BGG-API
A Python API for boardgamegeek.com
Installation
pip install bgg-api
Usage
from boardgamegeek import BGGClient
bgg = BGGClient()
game = bgg.game("Monopoly")
print(game.year) # 1935
print(game.rating_average) # 4.36166
Development
# Install dependencies
pip install -r requirements/develop.txt
# Install pre-commit hooks
pre-commit install
# Run tests
pytest .
# Run tests with tox
tox
Publishing
# Bump version (patch, minor, major)
bump2version patch
# Push to github
git push --tags origin master
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bgg-api-1.1.3.tar.gz
(38.0 kB
view hashes)
Built Distribution
Close
Hashes for bgg_api-1.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f67fc65650ec276f1f4799b7262949aee6d9714a3293863127749137b69615bc |
|
MD5 | d9b6a03505201c9949c06bf8b24026ae |
|
BLAKE2b-256 | 3bf1fce01963b2f52e563b2fcb5b6273025eba029fd0d1a2008b18d694738c79 |