Is there a way to cache the entire database systematically? I want to reduce my hits to the api and currently I can get the top 1000 games, and the top 1000 games for each year (I think), but thought I might be missing something. Thought it'd be worth caching and then hitting the api only once a week or so since I'm only interested in things like description, player numbers, and thumbnails.
(Change this option in the future in the Account dropdown)
Recent Comments
I think you misunderstood my question, but thank you for the encouragement! I'm using Mongo at the moment. My question is how to get the entirety of the data from the API. For instance, right now I'm sending ten queries - the api maxes out at skipping 1000 entries. I think I'm not doing this in the right way. I think the search function is the right way to go, but I'm not sure.
var pageNum = (i - 1)*100;

Board Game Giveaways
- Darwin's Journey Giveaway
Ends in 2 days
Prize: "Darwin's Journey Base Game" Pledge
- Board Game Empire Worldwide Giveaway
Ends in 9 days
Prize: $50
- SahmReviews.com - Holiday Giveaway 2020 - Gloomhaven: Jaws of the Lion Game
Ends in 4 days
Prize: We're excited to be offering our annual Mega Giveaway Promotion in conjunction with our Holiday Gift Guides. One lucky SahmReviews.com winner will receive a copy of Gloomhaven: Jaws of the Lion from Cephalofair Games. (ARV $50)!
- SahmReviews.com - Holiday Giveaway 2020 - Robots Game
Ends in 4 days
Prize: We're excited to be offering our annual Mega Giveaway Promotion in conjunction with our Holiday Gift Guides. One lucky SahmReviews.com winner will receive a copy of Robots from Pandasaurus Games. (ARV $15)!
alexscottbecker New User13 days ago |
Thanks for confining I'm at least not on the completely wrong track! If I come up with something better I'll post here. I was also thinking a "rank" related endpoint would work, so I could request games ranked higher than 1000 or lower than 100 or whatever.