You are viewing a single comment's thread from:

RE: Fair is Fun: A look at the Gods Unchained API with an eye toward more balanced Battlepass quests.

in Gods On Chain6 months ago

sure, the biggest thing is that every single call needs a time range:

https://api.godsunchained.com/v0/match?&end_time=1743775963-1743835163

that will give you every match that ended between those two times for every player in every mode. if you don't put a time range it will just give you a 'too many pages' error.

if you just wanted to look at your own matches you could do something like this:

https://api.godsunchained.com/v0/match?&end_time=1743775581-1744034781&player_won=1111111
https://api.godsunchained.com/v0/match?&end_time=1743775581-1744034781&player_lost=1111111

or just your own sealed wins

https://api.godsunchained.com/v0/match?&end_time=1743775581-1744034781&player_won=1111111&game_mode=7

swap in your own apollo_id for 11111111 obvs, and the timecode is in unix epoch time. i like https://www.epochconverter.com/ for generating times on the rare occasion i need to do it manually.

Sort:  

Great, thanks for this!
!PIZZA