Download Join-In
Transcript
D4.2 Design and Implementation of the Join-In platform
Page 62 of 63
List a Player’s Profile Images
Every API call needs an access token. To get an access token a user needs to
authenticate first.
URL
/player/GetProfileImagesBinary?access_token={access_token}&playerid
={playerid}
Request
Type
GET
Parameter
s
Playerid:
Request
Body
N/A
JSON
Result
{
Data:
[{
“imagetype”: ,
// user id
“image”:”” //base64 string of image
}]
}
“Message”:””
// A message in case any exception/Error
}
XML
Result
<Data>
<imagetype></imagetype>
<image></image>
.
.
</Data>
<Message></Message>
Example
Request
/player/GetProfileImagesBinary?access_token=ca4e0bdf-1e29-4f54b015-49351bc8a0ae&playerid=43
Request
Body
N/A
JSON
Result
{
data:
[ {
“imagetype”:”small”,