create account

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

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @agrante/re-coderad-suck7v

· @coderad ·
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.
properties (22)
authorcoderad
permlinkre-agrante-sucqtw
categoryhive-173286
json_metadata{"tags":["hive-173286"],"app":"peakd/2025.4.1","image":[],"users":[]}
created2025-04-07 14:27:42
last_update2025-04-07 14:27:42
depth2
children1
last_payout2025-04-14 14:27:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length910
author_reputation18,083,391,714,930
root_title"Fair is Fun: A look at the Gods Unchained API with an eye toward more balanced Battlepass quests."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id141,951,492
net_rshares0
@agrante ·
Great, thanks for this!
!PIZZA
👍  
properties (23)
authoragrante
permlinkre-coderad-suctc8
categoryhive-173286
json_metadata{"tags":["hive-173286"],"app":"peakd/2025.4.1","image":[],"users":[]}
created2025-04-07 15:21:45
last_update2025-04-07 15:21:45
depth3
children0
last_payout2025-04-14 15:21:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length30
author_reputation78,115,619,717,538
root_title"Fair is Fun: A look at the Gods Unchained API with an eye toward more balanced Battlepass quests."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id141,952,979
net_rshares209,985,097
author_curate_reward""
vote details (1)