Skip to content

Use application tokens to access BGG API instead of using unauthenticated calls #95

@Medwynd

Description

@Medwynd

Wasnt sure where to ask this but came across this the other day. Wanted to label it as a question but wasnt sure how.

BASE_URL = "https://www.boardgamegeek.com/xmlapi2"

Per this post from Aldie on BGG
https://boardgamegeek.com/thread/3539581/xml-api-read-this-for-uninterrupted-access

We are now requiring (with a few small exceptions) registration to use the XML API. Going forward, your API requests will need to include Authorization headers, so that we can better monitor and regulate use of the XML API (and XML API 2). All users of the XML API, commercial and non-commercial, must register.

Phase 3: Authorization will become required for XML API requests (with the exceptions noted above and in the guide linked above). We'll give some time for people to get their Authorization added to their apps, and try to add this gently, but if you want to avoid interruption to your data, you should update your requests.

https://boardgamegeek.com/using_the_xml_api

Exceptions: If all you are doing with the XML API is downloading your own collection while logged in, you do not need to register. You can also download other users' collections without registering while logged in, but without a registered application, this will be heavily rate limited. If you routinely need to download multiple users' collections, you should register. You also do not need to register to download the CSV dump of all games while logged in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions