Skip to content

A Python interface to boardgamegeek.com. Pulls information from BGG and creates Python objects for the data.

License

Notifications You must be signed in to change notification settings

SukiCZ/boardgamegeek

 
 

Repository files navigation

BGG-API

A Python API for boardgamegeek.com

docs status ci workflow status codecov Black code style Contributions welcome

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

About

A Python interface to boardgamegeek.com. Pulls information from BGG and creates Python objects for the data.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.4%
  • Makefile 3.6%