boardgamegeek - A Python API for boardgamegeek.com
Introduction
boardgamegeek is a Python library which makes it easy to access data from BoardGameGeek using their official XML API.
It’s an almost completely rewritten fork of libBGG.
Documentation
Documentation is available at http://boardgamegeek.readthedocs.org/
Usage
Here’s a quick usage example:
>>> from boardgamegeek import BoardGameGeek
>>> bgg = BoardGameGeek()
>>> g = bgg.game("Android: Netrunner")
>>> g.name
'Android: Netrunner'
>>> g.id
124742
>>> for n in g.alternative_names: print n.encode("utf-8")
...
安卓纪元:矩阵潜袭
If you want to use the disk cache:
>>> bgg = BoardGameGeek(cache="sqlite:///tmp/cache.db?ttl=3600&fast_save=0")
>>> g = bgg.game("Celtica")
>>> g.id
21293
To Do
Not all the information exposed by the official API is stored into the Python objects. Need to improve this.
Try to support the other sites from the boardgamegeek’s family
Improve documentation :)
Improve unit testing
Contributions/suggestions are welcome.
Metadata
Release files for boardgamegeek 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| boardgamegeek-0.10.0.tar.gz | 26.2 kB | Without provenance | Details for boardgamegeek-0.10.0.tar.gz |
Release files / boardgamegeek-0.10.0.tar.gz
| Download URL | boardgamegeek-0.10.0.tar.gz |
|---|---|
| Size | 26.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54ddb2dc43e954a27320b7b63bdb2d59a8ced53b4946841a3391035da155909a
|
|
BLAKE2b-256 checksum How to use checksums |
63dd90f4ef2ad887a4cba9413d84cec36b2cc01576def25e5d508b064a6c69c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for boardgamegeek 0.10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.