I’m an intermediate-level JavaScript/iOS dev, but I’ve been wanting to get into Ruby. I also don’t have experience working with large amounts of data, so I figured the Halo 5 API would be a great opportunity to do both of those things. But I already know I’m going to need some help, so if anyone here is well versed in Ruby, I will greatly appreciate any help you can offer 
As for the project - I want to essentially make a daily arena leaderboard that ranks the top 25 or so players according to different stats (most kills, most wins, etc) and have this update/reset daily. The first issue is getting every gamertag. My current approach:
- Use someone’s gamertag to get their 25 most recent games - Obtain the player list for each of those games - Add each player’s gamertag from each game to a database of some sort (if the gamertag hasn’t already been added, of course) - Use that list to get the 25 most recent games from each player - Rinse and repeatI don’t know the most quick/efficient way of getting/obtaining that data, though. I made a (very) quick code mock-up to get an idea of how I could go about it, but I know there’s a more efficient way. Also there’s the issue of knowing when all gamertags have been obtained.
Here’s the code: https://ghostbin.com/paste/exz9k
Any input would be awesome! 