summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/api/friend.h
blob: 191e0b93fa19cf02d863d168759323b88bf1b751 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _STEAM_REQUEST_FRIEND_H_
#define _STEAM_REQUEST_FRIEND_H_

class GetUserSummariesRequest : public HttpRequest
{
public:
	GetUserSummariesRequest(const char *token, const char *steamIds) :
		HttpRequest(HttpGet, STEAM_API_URL "/ISteamUserOAuth/GetUserSummaries/v0001")
	{
		Uri
			<< CHAR_PARAM("access_token", token)
			<< CHAR_PARAM("steamids", steamIds);
	}
};

#endif //_STEAM_REQUEST_FRIEND_H_