Users I Follow
A call to this endpoint will retrieve the caller's "Following" users list.
On-site Representation
The user's Followers Users List page looks like:
HTTP Request
GET
https://retroachievements.org/API/API_GetUsersIFollow.php
Query Parameters
Name | Required? | Description |
---|---|---|
y | Yes | Your web API key. |
c | Count, number of records to return (default: 100, max: 500). | |
o | Offset, number of entries to skip (default: 0). |
Client Library
Kotlin
val credentials = RetroCredentials("<username>", "<web api key>")
val api: RetroInterface = RetroClient(credentials).api
val response: NetworkResponse<GetUsersIFollow.Response, ErrorResponse> = api.getUsersIFollow()
if (response is NetworkResponse.Success) {
// handle the data
val users: GetUsersIFollow.Response = response.body
} else if (response is NetworkResponse.Error) {
// if the server returns an error it be found here
val errorResponse: ErrorResponse? = response.body
// if the api (locally) had an internal error, it'll be found here
val internalError: Throwable? = response.error
}
Response
json
{
"Count": 20,
"Total": 120,
"Results": [
{
"User": "zuliman92",
"Points": 1882,
"PointsSoftcore": 258,
"IsFollowingMe": true
}
// ...
]
}