Threads
FranceLinkorange5 years ago

Hi :)

First of all, I don't know if I'm in the right subforum to post this, but this one seemed the most appropriate.

I have a little question about the API : I'm trying to fetch the personal best for many players in a game which has sub-categories under the categories (for information the game in question is ALTTP, but it's the same issue for other games with sub-categories).

When I try to get the personal best from a given user, I can filter by categories, but as there are many sub-categories under one category, I still get several runs. That's why I would also like to filter by sub-category, thus by variable, in order to get only one run.

For instance, to get the world record for a category/sub-category couple, you have the option filter var-{variable_id} (as explained here : https://github.com/speedruncomorg/api/blob/master/version1/leaderboards.md ).

I wonder if there is a way to do the same via the users/{user_id}/personal-best URI, of if there is another way ?

Thanks for help !

About Linkorange
Joined
8 years ago
Online
3 months ago
Runs
55
Games run
The Legend of Zelda: A Link to the Past
22
Runs
Zelda II: The Adventure of Link
7
Runs
The Legend of Zelda: Majora's Mask
6
Runs
The Legend of Zelda: The Minish Cap
5
Runs
The Legend of Zelda
The Legend of Zelda
Last run 8 years ago
3
Runs
Metroid Dread
Metroid Dread
Last run 2 years ago
3
Runs
Games followed
The Legend of Zelda
The Legend of Zelda
Last visit 1 year ago
52
visits
The Legend of Zelda: Link's Awakening DX
98
visits
The Legend of Zelda: A Link to the Past
689
visits
Zelda II: The Adventure of Link
Zelda II: The Adventure of Link
Last visit 1 year ago
102
visits
The Legend of Zelda: The Minish Cap
54
visits
The Legend of Zelda: Majora's Mask
46
visits