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

uv add bgg-api

Or with pip:

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
uv sync --extra dev
# Install pre-commit hooks
uv run prek install

# Run tests
uv run pytest .
# Run tests with tox
uv run 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.18.tar.gz (43.2 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.18-py3-none-any.whl (45.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bgg_api-1.1.18.tar.gz
Algorithm Hash digest
SHA256 e244e8ff87e30defa090c723203f987e919f52999a1f7afc41f4538b63b155df
MD5 4cb7dbe4b965eb44da86e435b03afa55
BLAKE2b-256 f7490924c803100c724687a6b6c30b41f557c9548471e71bb2dc13d8fe6f08d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for bgg_api-1.1.18.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.18-py3-none-any.whl.

File metadata

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

File hashes

Hashes for bgg_api-1.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 f85341beaf4e858ecb7facde6f73e5b09ffb3b7b51aeb674b14c4cf7bdf051a8
MD5 49a0af95e01cb6995614ce4ad1a99b2a
BLAKE2b-256 5a3858f93cc3a3e1288be28e1752519b5e6d28cfdf81f7d0f7887a5b8a25d672

See more details on using hashes here.

Provenance

The following attestation bundles were made for bgg_api-1.1.18-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