diff options
author | aunsane <aunsane@gmail.com> | 2018-01-14 22:02:44 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-01-14 22:03:16 +0300 |
commit | 7cb1539b0dbcf585472dd2341129adf174bb0bb5 (patch) | |
tree | 6879adfdd3ebf5f64557525df118e0753969fd95 /protocols/Steam/src/api/friend.h | |
parent | a6b0d0df4854ffda2577e2b61844467253eb9e0f (diff) |
Steam: refactoring pt.2
Diffstat (limited to 'protocols/Steam/src/api/friend.h')
-rw-r--r-- | protocols/Steam/src/api/friend.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/protocols/Steam/src/api/friend.h b/protocols/Steam/src/api/friend.h index 191e0b93fa..0997d42b0f 100644 --- a/protocols/Steam/src/api/friend.h +++ b/protocols/Steam/src/api/friend.h @@ -5,12 +5,36 @@ class GetUserSummariesRequest : public HttpRequest {
public:
GetUserSummariesRequest(const char *token, const char *steamIds) :
- HttpRequest(HttpGet, STEAM_API_URL "/ISteamUserOAuth/GetUserSummaries/v0001")
+ HttpRequest(HttpGet, STEAM_API_URL "/ISteamUserOAuth/GetUserSummaries/v0002")
{
Uri
<< CHAR_PARAM("access_token", token)
<< CHAR_PARAM("steamids", steamIds);
}
+
+ //{
+ // "players": [
+ // {
+ // "steamid": "76561197960435530",
+ // "communityvisibilitystate" : 3,
+ // "profilestate" : 1,
+ // "personaname" : "Robin",
+ // "lastlogoff" : 1514966746,
+ // "profileurl" : "http://steamcommunity.com/id/robinwalker/",
+ // "avatar" : "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/f1/f1dd60a188883caf82d0cbfccfe6aba0af1732d4.jpg",
+ // "avatarmedium" : "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/f1/f1dd60a188883caf82d0cbfccfe6aba0af1732d4_medium.jpg",
+ // "avatarfull" : "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/f1/f1dd60a188883caf82d0cbfccfe6aba0af1732d4_full.jpg",
+ // "personastate" : 0,
+ // "realname" : "Robin Walker",
+ // "primaryclanid" : "103582791429521412",
+ // "timecreated" : 1063407589,
+ // "personastateflags" : 0,
+ // "loccountrycode" : "US",
+ // "locstatecode" : "WA",
+ // "loccityid" : 3961
+ // }
+ // ]
+ //}
};
#endif //_STEAM_REQUEST_FRIEND_H_
|