User Set Requests
A call to this endpoint will retrieve a given user's set requests, maximum total requests and points until next request.
On-Site Representation
HTTP Request
GET
https://retroachievements.org/API/API_GetUserSetRequests.php?u=MaxMilyin
Query Parameters
Name | Required? | Description |
---|---|---|
y | Yes | Your web API key. |
u | Yes | The target username. |
t | No | Request List Type: 0 for active requests, 1 for all requests. Defaults to 0. |
Client Library
Not Yet Supported
Response
json
{
"RequestedSets": [
{
"GameID": 8149,
"Title": "Jurassic Park Institute Tour: Dinosaur Rescue",
"ConsoleID": 5,
"ConsoleName": "Game Boy Advance",
"ImageIcon": "/Images/000001.png"
},
{
"GameID": 600,
"Title": "Psycho Pinball",
"ConsoleID": 1,
"ConsoleName": "Genesis/Mega Drive",
"ImageIcon": "/Images/039797.png"
},
{
"GameID": 1,
"Title": "Sonic the Hedgehog",
"ConsoleID": 1,
"ConsoleName": "Genesis/Mega Drive",
"ImageIcon": "/Images/085573.png"
}
],
"TotalRequests": 5,
"PointsForNext": 5000
}
Source
Repo | URL |
---|---|
RAWeb | https://github.com/RetroAchievements/RAWeb/blob/master/public/API/API_GetUserSetRequests.php |