Viewing a response to: @coderad/fair-is-fun-a-look-at-the-gods-unchained-api-with-an-eye-toward-more-balanced-battlepass-quests
Really good ideas! Hey, could you perhaps add some API requests as an example that other people could play with?
author | agrante |
---|---|
permlink | re-coderad-suck7v |
category | hive-173286 |
json_metadata | {"tags":"hive-173286"} |
created | 2025-04-07 12:05:06 |
last_update | 2025-04-07 12:06:24 |
depth | 1 |
children | 2 |
last_payout | 2025-04-14 12:05:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 113 |
author_reputation | 78,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_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 141,948,370 |
net_rshares | 212,554,116 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
coderad | 0 | 212,554,116 | 100% |
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.
author | coderad |
---|---|
permlink | re-agrante-sucqtw |
category | hive-173286 |
json_metadata | {"tags":["hive-173286"],"app":"peakd/2025.4.1","image":[],"users":[]} |
created | 2025-04-07 14:27:42 |
last_update | 2025-04-07 14:27:42 |
depth | 2 |
children | 1 |
last_payout | 2025-04-14 14:27:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 910 |
author_reputation | 18,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_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 141,951,492 |
net_rshares | 0 |
Great, thanks for this! !PIZZA
author | agrante |
---|---|
permlink | re-coderad-suctc8 |
category | hive-173286 |
json_metadata | {"tags":["hive-173286"],"app":"peakd/2025.4.1","image":[],"users":[]} |
created | 2025-04-07 15:21:45 |
last_update | 2025-04-07 15:21:45 |
depth | 3 |
children | 0 |
last_payout | 2025-04-14 15:21:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 30 |
author_reputation | 78,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_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 141,952,979 |
net_rshares | 209,985,097 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
coderad | 0 | 209,985,097 | 100% |