obsidian-media-db-plugin
obsidian-media-db-plugin copied to clipboard
boardgamegeek API call now requires registration and API key
I started receiving 401 errors when using Media DB to pull board game info from BGG. Tried outside of Obsidian and same result. Turns out BoardGameGeek is rolling out registration requirements to access its API
https://boardgamegeek.com/using_the_xml_api
We are in the process of requiring registration and authorization for use of the XML API. If you are an existing XML API user, in order to prevent a disruption in your service, we recommend that you register and add authorization to all of your XML API requests.
Media DB will need to add a user assignable BoardGameGeek key same as OMDb, Moby, etc.
:(
I wouldn't mind trying to make a PR for this if someone temporarily shares an api key. Personally I don't like that the registration asks for full legal name and the city you live in.
It's a shame that all of these previously open api's all need authentication now or sometimes even monthly subscriptions.
Hi, I would love to have this working with BGG's API again. I have an API key I can share. What's the best way to get it to you, @ltctceplrm ?
Maybe a pastebin with burn after reading turned on (or just a 24h expiration date)
https colon slash slash pastebin dot com slash xCCDEVT9
It will prompt you for a password, which is axJrEf8CdV
I have burn after reading turned on, so if someone has retrieved the above before you, let me know so I can revoke the token.
Thank you for looking into this
I've got the API key, thanks.
@MichaelSims I've made a PR (#223) to fix it, if you can't build from the source then here is the main.js file to put in your plugin folder.
If you want you can revoke the token now or you can wait a bit in case I need to fix something.
Please let me know if it works well
It works like a charm! So many thanks to you sir!
EDIT: I'll keep that key active for a while (at least a couple of weeks) in case you need to do any testing along the way to getting it into a release.