TGDSO Widgets

TGDSO Widgets

Provides the interface for accessing a TheGameDevStore.com User Interface.


GET

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

Request

JSON-RPCParametersRequiredDatatypeDescription
{"jsonrpc":"2.0",    
"method":"Widget_GET",   Service Transaction Method.
"params":{    
 "signature":"6e73861fd2d75a76e54b472e609eaf98", hashPrevious Signed Authentication Token issued by TGDSO 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 TGDSO Contest Server.
 "users":[  List of Users start here
 {"id":1xintThe ID of the user. KO
 "username":"techlordx"xstringThe user’s username.
 "description":"TheGameDevStore Developer"xstringThe description that the user put in for themselves. HTML tags and new lines have been removed.
 "avatar_url":"https://www.TheGameDevStore.com"xstringThe URL of the user’s avatar.
 "website":"https://www.TheGameDevStore.com"xstringThe user’s website, if they put one in.
 "signed_up":"01/01/2013"xstringHow long ago the user signed up.
 "last_logged_in":"today"xstringHow 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