qrzy / bgg-xml-api-client Goto Github PK
View Code? Open in Web Editor NEWA simple library providing functions that return requested BGG data as JSON object.
License: MIT License
A simple library providing functions that return requested BGG data as JSON object.
License: MIT License
How to we handle errors statuses for getBggCollection() method? This is what happens from their documentation.
Note that you should check the response status code... if it's 202 (vs. 200) then it indicates BGG has queued your request and you need to keep retrying (hopefully w/some delay between tries) until the status is not 202.
I added a try catch error but i get no statuses
The error message i get 'Max reties reach!'
Recently using this package has started throwing errors for username & collection requests as a result of using an outdated domain.
Suggested fix is to omit the "www" in the domain for BGG_API_V2_BASE_URL
in bgg-xml-api-client/src/helpers/getBaseUrlForResource.ts
. The new line should be:
export const BGG_API_V2_BASE_URL = 'https://boardgamegeek.com/xmlapi2/';
For more information, see this related thread on BGG.
any idea how to get the data back. I am getting a CORS error when calling inside my project. but when i try the api call in browser it works
https://boardgamegeek.com/xmlapi2/search?query=Blood+rage&type=boardgame&exact=1
Is there a way to get all plays there were logged between 2 dates?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.