TGDSO Friends

TGDSO Friends

Friends Interface definition for the online services friends services. Friends services are anything related to the maintenance of friends and friends lists.


GET

Returns a list of scores either for a user or globally for a game.

Request

JSON-RPCParametersRequiredDatatypeDescription
{"jsonrpc":"2.0",    
"method":"Friends_GET",   Service Transaction Method.
"params":{    
 "signature":"6e73861fd2d75a76e54b472e609eaf98", hashPrevious Signed Authentication Token issued by AKO Contest Server.
 "username":["techlordx", "gamaster4"]xstring arrThe username(s)  that you’d like to retrieve. An array is used to get 1 or more users. 
},    
"id": 4}    

Response

JSON-RPCParametersRequiredDatatypeDescription
{"jsonrpc":"2.0",    
"result": {    
 "signature":"3208fde0470719372f8313ddd5884a75",xhashSigned Authentication Token issued by AKO Contest Server.
 "users":[  List of Users start here
 {"id":1intThe ID of the user. KO
 "username":"techlordx"xstring The user’s username.
 "description":"ArcadeKomodo Developer"stringThe description that the user put in for themselves. HTML tags and new lines have been removed.
 "avatar_url":"https://www.arcadekomodo.com"xstringThe URL of the user’s avatar.
 "website":"https://www.arcadekomodo.com"stringThe user’s website, if they put one in.
 "signed_up":"01/01/2013"string How long ago the user signed up.
 "last_logged_in":"today"string How long ago the user was last logged in. Will be “Online Now” if the user is currently online.
 "status":"active"}xstring“Active” if the user is still a member on the site. “Banned” if they’ve been banned.
 ]  Additional Users objects follow.
},    
"id": 4}    
JSON-RPCParametersRequiredDatatypeDescription
{"jsonrpc":"2.0",    
"result":{    
 "failure":1xintegerFailure Code 1: Authentication Failed. Incorrect Username/Password Combination.
},    
"id": 4}    

Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Pin It on Pinterest