Skip to main content

A Python API for boardgamegeek.com

Project description

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

Create 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

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.16.tar.gz (43.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bgg_api-1.1.16-py3-none-any.whl (45.0 kB view details)

Uploaded Python 3

File details

Details for the file bgg_api-1.1.16.tar.gz.

File metadata

  • Download URL: bgg_api-1.1.16.tar.gz
  • Upload date:
  • Size: 43.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bgg_api-1.1.16.tar.gz
Algorithm Hash digest
SHA256 d01841256b1c5a533a139cd158dfaeeee89575bab37670e684f25816d9a5de60
MD5 bedb08d74fe651b66531f8e1147f8ca3
BLAKE2b-256 33841bc679f928fb65b8a2791c4310779936ea52864291e7a9b1bf74509d8499

See more details on using hashes here.

Provenance

The following attestation bundles were made for bgg_api-1.1.16.tar.gz:

Publisher: ci.yml on SukiCZ/boardgamegeek

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bgg_api-1.1.16-py3-none-any.whl.

File metadata

  • Download URL: bgg_api-1.1.16-py3-none-any.whl
  • Upload date:
  • Size: 45.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bgg_api-1.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 f0973d83bd751d918e0b29a20ae695ed618f621b7ef17af234451b619b478431
MD5 f686732e2996385d8705533216299101
BLAKE2b-256 74b8d53b61126f9ae790a2569c793605172e1a888e36663d8c001b1aae7f8417

See more details on using hashes here.

Provenance

The following attestation bundles were made for bgg_api-1.1.16-py3-none-any.whl:

Publisher: ci.yml on SukiCZ/boardgamegeek

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page