curl --request GET \
--url https://staging.terminal3.io/v1/user/{user_id}/social_data \
--header 'x-api-token: <x-api-token>'
{
"steam": {
"steamid": "<string>",
"personaname": "<string>",
"profileurl": "<string>",
"avatar": "<string>",
"personastate": 123,
"timecreated": 123
},
"owned_games": {
"game_count": 0,
"games": [
{
"appid": "<string>",
"name": "<string>",
"playtime_2weeks": 0,
"playtime_forever": 0
}
]
},
"recent_played_games": {
"total_count": 0,
"games": [
{
"appid": "<string>",
"name": "<string>",
"playtime_2weeks": 0,
"playtime_forever": 0
}
]
},
"discord": {
"email_verified": true,
"guilds": [
{
"id": "<string>",
"name": "<string>",
"owner": true
}
]
},
"twitch": {
"username": "<string>",
"view_count": 0,
"follower_count": 0,
"followed_channels": {
"total": 0,
"broadcasters": [
{
"broadcaster_login": "<string>",
"broadcaster_name": "<string>",
"followed_at": "<string>"
}
]
}
}
}
This API is used for retrieving the social data of a user.
curl --request GET \
--url https://staging.terminal3.io/v1/user/{user_id}/social_data \
--header 'x-api-token: <x-api-token>'
{
"steam": {
"steamid": "<string>",
"personaname": "<string>",
"profileurl": "<string>",
"avatar": "<string>",
"personastate": 123,
"timecreated": 123
},
"owned_games": {
"game_count": 0,
"games": [
{
"appid": "<string>",
"name": "<string>",
"playtime_2weeks": 0,
"playtime_forever": 0
}
]
},
"recent_played_games": {
"total_count": 0,
"games": [
{
"appid": "<string>",
"name": "<string>",
"playtime_2weeks": 0,
"playtime_forever": 0
}
]
},
"discord": {
"email_verified": true,
"guilds": [
{
"id": "<string>",
"name": "<string>",
"owner": true
}
]
},
"twitch": {
"username": "<string>",
"view_count": 0,
"follower_count": 0,
"followed_channels": {
"total": 0,
"broadcasters": [
{
"broadcaster_login": "<string>",
"broadcaster_name": "<string>",
"followed_at": "<string>"
}
]
}
}
}
Supported social connections:
x > 0
Success
The response is of type object
.