mikec964 / meeple-matcher Goto Github PK
View Code? Open in Web Editor NEWRecommendation engine for board games, using data from BoardGameGeek.com
License: GNU General Public License v3.0
Recommendation engine for board games, using data from BoardGameGeek.com
License: GNU General Public License v3.0
For a given user, get a list of users who have games in common with them
Call function with a list of games to load. It returns the number loaded. Loop until you're happy because you're out of time, you've loaded them all, or you've loaded enough.
Make as many API calls at once as possible. Load games when available and make remaining API calls.
Function to read user's collection from BGG XML API, store in data frame.
Some unit tests check for particular data: Games in the collection or ratings of a game. If the BGG source or cache files are updated, the tests will fail.
Need to possibly create special test files or test file directory for testing this specific.
When loading XML files, if use-cache flag is set, load from disk instead of API.
When loading from API, if make-cache flag is set, store a copy on disk for later use.
Note, for 100 games in a collection, this will be at least 100 "thing" files.
users as nodes. edges are based on affinity: games in common formula tbd
Function to read game stats from BGG XML API, store in data frame.
FILE:
Invalid username specified
CONSOLE:
[1] "loading: 2 of 2, 8BITIFISH"
INFO [2017-11-08 14:41:26] XML cache.path: xmlcache/collection/username=8BITIFISH.xml
Getting: https://boardgamegeek.com/xmlapi2/collection?username=8BITIFISH&subtype=boardgame&stats=1&brief=1
OK (HTTP 200).Caching: xmlcache/collection/username=8BITIFISH.xml
Error in thing.attr["objectid", ] : incorrect number of dimensions
Some games have over 12,000 ratings. API calls return pages of 100 ratings each: That's up to 120 calls per game!
When loading ratings, specify max number of pages to load.
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.