TheGamDevStore.com Online API

TGDSO Tournaments

WORK IN PROGRESS

Implement Scoreboard, Winning Position, Prize Percentages

TGDSO Tournaments (Contests)

TGDSO’s Tournaments Interface allows for Developers to register New Tournaments to TheGameDevStore.com’s Servers from with in the Game Client.


GET

Returns Contest Details.

Request

JSON-RPCParametersRequiredDatatypeDescription
{"jsonrpc":"2.0",    
"method":"Tournament_GET",   Service Transaction Method.
"params":{    
 "signature":"6e73861fd2d75a76e54b472e609eaf98", hashPrevious Signed Authentication Token issued by TGDSO Contest Server.
 "id":454245245,+integerThe ID of the contest that you’d like to retrieve.
 "title":"Ultimatour"
 string arrThe Title of the contest that you’d like to retrieve.
},    
"id": 4}    

Response

JSON-RPCParametersRequiredDatatypeDescription
{"jsonrpc":"2.0",    
"result": {    
 "signature":"3208fde0470719372f8313ddd5884a75",xhashSigned Authentication Token issued by TGDSO Contest Server.
 "contest":[  List of Users start here
 {"id":1xintegerThe ID of the user. KO
 "game_id":,x??
 "game_mode":"Scavenger",x??
 "player_mode":"Team",x?Solo, Team, Mix
 "title":"Dragon'$ Gold Rush",
xstring arrThe username(s) that you’d like to retrieve. An array is used to get 1 or more users.
 "description":"Be the first to seize the treasure.",xstring?
 "image_url":"",xstring?
 "scoreboard_type":"a",xint0=Linear, 1=Tree. Default 0 is Linear
 "tiebreaker_enabled":"a",xbool?
 "min_skill":"",x?Minimum User Skill Level Allowed.
 "match_skill":"",x??
 "min_admission":"",x??
 "max_admission":"",x??
 "max_admission_per_player":"",x??
 "fee_type":"",x??
 "admission_fee":"",x??
 "admission_return_description":"3 Lives",x??
 "start_datetime":"",x??
 "end_datetime":"",x??
 "winning_positions":[{"rank":"","prize_percentage":""},... ]x??
 "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}    

CREATE

Creates a new Contests

Request

JSON-RPCParametersRequiredDatatypeDescription
{"jsonrpc":"2.0",    
"method":"Tournament_CREATE",   Service Transaction Method.
"params":{    
 "signature":"6e73861fd2d75a76e54b472e609eaf98",xhashPrevious Signed Authentication Token issued by TGDSO Contest Server.
 "game_id":,x??
 "game_mode":"Scavenger",x??
 "player_mode":"Team",x?Solo, Team, Mix
 "title":"Dragon'$ Gold Rush",
xstring arrThe username(s) that you’d like to retrieve. An array is used to get 1 or more users.
 "description":"Be the first to seize the treasure.",xstring?
 "image_url":"",xstring?
 "scoreboard_type":"a",xint0=Linear, 1=Tree. Default 0 is Linear
 "tiebreaker_enabled":"a",xbool?
 "min_skill":"",x?Minimum User Skill Level Allowed.
 "match_skill":"",x??
 "min_admission":"",x??
 "max_admission":"",x??
 "max_admission_per_player":"",x??
 "fee_type":"",x??
 "admission_fee":"",x??
 "admission_return_description":"3 Lives",x??
 "start_datetime":"",x??
 "end_datetime":"",x??
 "winning_positions":[{"rank":"","prize_percentage":""},... ]x??
},    
"id": 4}    

Response

JSON-RPCParametersRequiredDatatypeDescription
{"jsonrpc":"2.0",    
"result": {    
 "signature":"3208fde0470719372f8313ddd5884a75",xhashSigned Authentication Token issued by TGDSO Contest Server.
 "contest":[  List of Users start here
 {"id":1xintThe ID of the user. KO
 "username":"techlordx"xstringThe user’s username.
 "description":"ArcadeKomodo Developer"xstringThe 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"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