Skip to main content

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

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.19.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.19-py3-none-any.whl (45.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bgg_api-1.1.19.tar.gz
Algorithm Hash digest
SHA256 606c3d47d8ca9ea9dd4678ccc12c674d950da43dd708bc0d311af539204c9715
MD5 7d0511350e6f1a5e85928b9e16f37c8a
BLAKE2b-256 8847e72b070bf3efedcce846d933a1ad2f55a25e725de96b2587daf50257de5b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: bgg_api-1.1.19-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.14

File hashes

Hashes for bgg_api-1.1.19-py3-none-any.whl
Algorithm Hash digest
SHA256 cc46f3f7b24705daed94129e6605444f45fc2e1ae972e94b17fdedf9e57e8990
MD5 e775606fd517f8152cf79fd43be302a4
BLAKE2b-256 d69010cec824f7a73b07fbc6c9da2a91db0a288503a8c890ce0e6593b3ed7853

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

This release

1.1.19 This release

2 files

1.1.18

2 files

1.1.17

2 files

1.1.16

2 files

1.1.15

2 files

1.1.14

2 files

1.1.13

2 files

1.1.12

2 files

1.1.10

2 files

1.1.9

2 files

1.1.7

2 files

1.1.6

2 files

1.1.5

2 files

1.1.3

2 files

1.1.2

2 files

1.1.0

2 files

Supported by

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