Oh, also, I have an example usage of this library. I use it to generate the JSON for this page ( http://games.splitstreams.com
), with a simple Flask-Rest API. The source for this is not at all polished, but if people are interested in that, I can pass that along as well.
Also, as kind of an easter egg, you can generate that list with your collection by adding a simple username=<your_bgg_username> to the end of the url. For example, my bgg username is crustymonkey (which is, unsurprisingly, the default) and if I wanted it to show my collection:http://games.splitstreams.com?username=crustymonkey
Note that the first time you go to load the page, it will take a long time (up to ~45 seconds) to load, depending on the size of your collection. I have implemented server-side in-memory caching, so subsequent loads will be faster.