What language are you using?
The steps are reasonably simple, and I could work up an example (by simplifying some existing code) in perl, but anything else I don't have right to hand.
1. Download the list of archives (yes, you want this, else you don't know what months there are games for)
2. Working backwards from latest to earliest download each and
a) Sort by EndDate (I think now done for us, but it's safe)
b) Add games from that archive up to ten
c) If you don't have ten games from the first archive file, proceed to the next and repeat from (a).
If you have questions, or do want a perl example, ask. I won't spend the time to create one if that's not the language you're using. And it probably isn't ...
Hi guys, I would like to call the last 10 games from my archive, do you have an example of code to do this?