Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 1022 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 1022 Bytes

Details

To check it out go here http://betterbggcollection.com

In addition to inputting your BGG username onto the webpage you can also directly go to your collection by appending ?username=<insert username here> to the end of the URL.
For example: http://betterbggcollection.com/?username=gamerkingfaiz

You can also control the default number of rows returned with &rows=<insert number here>.
For example: http://betterbggcollection.com/?username=gamerkingfaiz&rows=1000
I only have ~40 games, so it doesn't look different, but try with a bigger collection and see the difference!

Geeky Details:

The page is built in React, so it's responsive, meaning it will play nice on mobile.
I'm using the official BGG XML API then the xml2js library to convert the XML to JSON.
Finally, I'm using cors-anywhere to add a CORS header to the BGG API.