briankoser / thomas

Flickchart for board games
MIT License
2 stars 0 forks source link

Import games from top X from BGG #10

Open briankoser opened 9 years ago

briankoser commented 9 years ago

Allow user to rank games from the Board Game Geek top 100, or top X.

briankoser commented 9 years ago

Would this feature ever be actually used?

skotz commented 8 years ago

Sounds like fun. Since this can't be done cross domain in JavaScript (due to CORS), how would you like to implement the transfer? Just a standalone app that scrapes data off the "simple" view of a games list?

briankoser commented 8 years ago

There are APIs we might be able to use (official XML, unofficial JSON); if not screen scraping wouldn't be difficult.

skotz commented 8 years ago

I've used those methods before with varying success, but the remote server has to play along for it to work. Normally the acceptable cross-browser solution is a server side handler that does a legit GET.

briankoser commented 8 years ago

Hmm, I used that JSON api and screen scraping on a previous project; I know I had issues but I don't remember what they were specifically. The list doesn't change often, so it might be easiest to just screen scrape once a week and cache the list locally.