帖子
Lower Austria, Austriamuhmann3 years ago

I'm using the speedrun.com API for my discord server. It takes the records from each category of the game and then displaysthe 3 fastest runs of each category in the "leaderboard" channel. This works fine, but it doesn't work for games with subcategories, in this case speedrun.com/gbt. You can see that Any% has the inbounds, out of bounds and pauseless subcategories. My code will get the top3 runs for any% out of bounds, since it is the fastest category.

I'm using python I get the game info like this: game = api.search(srcomapi.datatypes.Game, {"name": name})[0]

and then I loop though the categories like this: for category in game.categories:

This will only include the main categories. Does anyone have an idea?

Lower Austria, Austriamuhmann4 years ago

dont know if anyones ever gonna read this, but there is a really easy out of bounds glitch on the psvr version of the game. you basically need to stand in front of a wall, press the ps button (in order to go into the menu), walk forward a bit, then get back into the game. is this useful or nah?

muhmann的介绍
加入时间
4 years ago
在线
9 months ago
记录
16
已玩过的游戏
Grey-Box Testing
Grey-Box Testing
最近一次游戏记录 3 years ago
13
记录
Grey-Box Testing Category Extensions
Grey-Box Testing Category Extensions
最近一次游戏记录 3 years ago
3
记录
关注的游戏
Grey-Box Testing
Grey-Box Testing
最近一次访问时间 10 months ago
989
次访问
Watch Dogs: Legion
Watch Dogs: Legion
最近一次访问时间 1 year ago
11
次访问
Grey-Box Testing Category Extensions
Grey-Box Testing Category Extensions
最近一次访问时间 1 year ago
28
次访问