TGDSO Achievements

TGDSO Achievements

TGDSO provides Single Player and Team-Based Achievements/Meta-goal Stats Manager. In addition to TGDSO Achievements, it also provides an interface to 3rd party Achievements services such as Steam, GameJolt, others.


GET

Returns either one Achievement, or multiple Achievements, depending on the parameters passed in.

Request

JSON-RPCParametersRequiredDatatypeDescription
{"jsonrpc":"2.0",    
"method":"Achievement_GET",   Service Transaction Method.
"params":{    
 "signature":"6e73861fd2d75a76e54b472e609eaf98",xhashPrevious Signed Authentication Token issued by TGDSO Contest Server.
 

"isTCG":0,

x Set to “true” to include Trading Card Meta Game Attributes.
 "achieved":1,boolSet to “true” to return only the achieved Achievements for a user or “false” to return only Achievements the user hasn’t achieved yet. Leave this blank to retrieve all Achievements..
 "achievement_id":[67,342]xint arrOne or more Achievement IDs here if you want to return a subset of all the Achievements – you do this as a comma separated list in the same way you would retrieving multiple users. Passing a Achievement_id or a set of Achievement_ids will ignore the “achieved” parameter if it is passed.
},    
"id": 4}    

Response

JSON-RPCParametersRequiredDatatypeDescription
{"jsonrpc":"2.0",    
"result": {    
 "signature":"3208fde0470719372f8313ddd5884a75",xhashSigned Authentication Token issued by TGDSO Contest Server.
 "achievements":[  List of Achievements start here
 {"id":1,intThe ID of the Achievment.
 "title":"superbrutalizer",xstring The user’s username.
 "description":"20 Knockouts in a Row",stringThe description that the user put in for themselves. HTML tags and new lines have been removed.
 "image_url":"https://www.arcadekomodo.com",xstringThe URL of achievement’s image.
 "difficulty":"Bronze",xstring“Bronze”, “Silver”, “Gold”,”Platinum”, “Ruby”, “Emerald”, “Diamond”
 "element":"Fire", stringTrading Card Meta Game Attribute
 "level":10, integerTrading Card Meta Game Attribute
 "type":"", stringTrading Card Meta Game Attribute
 "effect":"", stringTrading Card Meta Game Attribute
 "attack_power":"", stringTrading Card Meta Game Attribute
 "guard_power":"", stringTrading Card Meta Game Attribute.
 "status":"active"} string“Active” if the Achievement is valid.
 ]  Additional Achievements objects follow.
},    
"id": 4}    
JSON-RPCParametersRequiredDatatypeDescription
{"jsonrpc":"2.0",    
"result":{    
 "failure":1xintegerFailure Code 1: Authentication Failed. Incorrect Username/Password Combination.
},    
"id": 4}    

SET

Sets a Achievement as achieved for a particular user.

Request

JSON-RPCParametersRequiredDatatypeDescription
{"jsonrpc":"2.0",    
"method":"Achievement_SET",   Service Transaction Method.
"params":{    
 "signature":"6e73861fd2d75a76e54b472e609eaf98",xhashPrevious Signed Authentication Token issued by TGDSO Contest Server.
 "achievement_id":67xintegerThe ID of the Achievement you’d like to add for the user.
},    
"id": 4}    

Response

JSON-RPCParametersRequiredDatatypeDescription
{"jsonrpc":"2.0",    
"result": {    
 "signature":"3208fde0470719372f8313ddd5884a75"xhashSigned Authentication Token issued by TGDSO Contest Server.
},    
"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