API Enhancement Requests #2081
Replies: 29 comments 54 replies
-
Getting Achievement Type on would be helpful – I pulled down RAWeb and was gonna make a change for this, assuming it would be as simple as it was to add it to getAchievementUnlocks. Alas, it looks like this change would require a change to the DB query. It looks like it should just be adding |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Another endpoint that I mentioned (Wes said he would look into it already, just adding here to not lose track) is something that returns This would allow consumers to have access to the already combined user recent progress and user site awards calls. |
Beta Was this translation helpful? Give feedback.
-
(forwarded suggestion from Discord) One addition that I believe is really useful is an endpoint to fetch the game ID (if existing) by supplying the computed game hash (according to https://docs.retroachievements.org/Game-Identification/) instead. This would be really useful for software that's more "general" purpose, such as emulator frontends. |
Beta Was this translation helpful? Give feedback.
-
Right now in LaunchBox there is a window that displays the Top Ten user leaderboard. We get the information from |
Beta Was this translation helpful? Give feedback.
-
It probably makes sense to include the user's highest award level on the game info & user progress call. Now with beaten awards introduced, this is unclear without making an additional call to get user awards. |
Beta Was this translation helpful? Give feedback.
-
Add pagination to API_GetUserCompletedGames Calling for a user that has a ton of records (i.e. MaxMilyin) is significantly slower (1106 ms) than a user with fewer records (i.e. Bronson15 – 263 ms) |
Beta Was this translation helpful? Give feedback.
-
Add Achievement Image URL to API_GetAchievementOfTheWeek |
Beta Was this translation helpful? Give feedback.
-
Return softcore points in API_GetAchievementUnlocks |
Beta Was this translation helpful? Give feedback.
-
Add endpoints for: |
Beta Was this translation helpful? Give feedback.
-
I don't know how much interest there would be in it outside of my use case, but one thing that I was doing before (that I can't do now) was sending a POST request to reorderSiteAwards.php, in order to systematically sort my badges. If there was an API endpoint that took in an ordered list of game ID's (at a minimum) or a more complicated structure and updated the user's profile accordingly, that would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
-
Posted this on Discord as well, but it would be ideal if the |
Beta Was this translation helpful? Give feedback.
-
Add an endpoint to return the New Sets/Revisions list |
Beta Was this translation helpful? Give feedback.
-
Hi! |
Beta Was this translation helpful? Give feedback.
-
Hi! I was wondering what the best way to get the image for a certain achievement was? I'm currently calling the API to get the achievement of the week, and that works alright, but I'm only able to access the achievement's ID: achievementOfTheWeek.achievement.id Not the actual badge's ID, to put that into a URL like this: https://i.retroachievements.org/Badge/341926.png is there a different way I should be getting the badge image? thank you so much! |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to get an endpoint with the Achievement of the Month? Basically the Achievement of the Week endpoint, but with the monthly achievement data opposed to the weekly one. |
Beta Was this translation helpful? Give feedback.
-
Adding a parameter of |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm working on your API with Leaderboard support. 4 endpoints: public/API/API_GetLeaderboardRanking.php : to get rank of the user in the specified leaderboard Source code : (i'm developing a marquee system to display all these retro achievements and leaderboard stats) Thanks Best regards |
Beta Was this translation helpful? Give feedback.
-
Hi, could it be possible to get the icon URL for each system in All System response along the name and ID? Not sure if it could be possible to get it in other responses returning the Console Data, like Achievement of the Week. The idea behind this request is to display the console icons in a client without keeping a local image associated to the console, which can be outdated in case a new console system is added. Thanks UPDATE: I manage to make the change myself and here's the PR |
Beta Was this translation helpful? Give feedback.
-
Would love this API to include "CumulScore" (RetroPoints): https://api-docs.retroachievements.org/v1/get-user-recent-achievements.html The by date and on date already support this. |
Beta Was this translation helpful? Give feedback.
-
Would very much appreciate if For example, instead of: "Hashes": [
"9a4961c50952b212666859ea4f5467a2196903ef"
] you would get: "SupportedGameFiles": [
{
"name": "name.ext",
"hash": "536516ce06aee351c643a3530ccb06864cae52ba"
}
] |
Beta Was this translation helpful? Give feedback.
-
I would love to calculate the time-effort needed to unlock certain achievements. Therefore it would be great if I could access the time the player played a game until unlocking a certain achievement. It would generally be very interesting to access play-time related data. E. g. timestamps when a session started and when a session ended. Or the overall time a certain user played a certain game. |
Beta Was this translation helpful? Give feedback.
-
Please provide a function like API_GetAchievementUnlocks that returns the latest unlocks across all achievements (maybe during the last hour or with pagination). The parameters would be the same as in API_GetAchievementUnlocks, but without the target achievement ID (a). The returned data-format would be the same as the "Unlocks"-table of the response of API_GetAchievementUnlocks, but with the achievement ID as extra column. This would allow me to keep my unlocks-database up-to-date with a lot less traffic! |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to have an endpoint where a user's comments are fetchable? Usecase: I'm currently doing a Shiny only Pokemon Set and every achievement gets send to a Discord channel as embed. |
Beta Was this translation helpful? Give feedback.
-
It would be a good idea to add an endpoint that returns a ranked list with an offset of ±N users relative to the target, as well as the top 10 users. This way, the nearest competitors would be visible. |
Beta Was this translation helpful? Give feedback.
-
New endpoint for retrieving comments for Games and for Achievements. Contract would be something like:
return:
|
Beta Was this translation helpful? Give feedback.
-
I’m working on a How Long To Beat (think avg time to master based on previous masters) style display to display how long it to take to beat and master a particular achievement set. I can do this with just the achievement unlock times (no PII needed) but currently I have to get all mastery info from API_GetGameRankAndScore then query each user individually to get achievement unlock times to calculate to actual time to beat/master the set. Is it possible to add each users first unlock date for a set and the last unlock to beat so the total time to master/beat a set can be calculated without needing to check each user individually. Ideally this would be something you guys do server side and display on the web for each set. Since you guys can look into each users unlocks for each game and filter out any long times between unlocks (user stops playing for a while) etc. maybe even have a poll for each set to vote on a difficulty rating and play through count. Ex.
|
Beta Was this translation helpful? Give feedback.
-
If possible, it would be great if the endpoint 'GetGameInfoAndUserProgress' returned the last played game when the gameID parameter is empty. |
Beta Was this translation helpful? Give feedback.
-
Would it be possible that the endpoint |
Beta Was this translation helpful? Give feedback.
-
Is the API missing data or would you like something changed/improved to better suit your needs? Place your request here so we don't lose it.
You can also find API support in our #coders channel on Discord: https://discord.com/channels/310192285306454017/645777658319208448
Beta Was this translation helpful? Give feedback.
All reactions