Admin.GetPlayerRank

From FreePokerAlliance wiki

Jump to: navigation, search

Contents

Description

Returns the current rank of the requested player.

Parameters

Required Name Type Default value Description
required Command string GetPlayerRank API method name
required UID string Player's username
optional Currency int 1 Type of balance (1=fun money, 2=real money)

Example Request

Replace XXXXXXXXXX with actual data.

http://api.freepokeralliance.com/adminservices.aspx?UID=XXXXXXXXX&Command=GetPlayerRank

Response

Name Type Default value Description
Command string GetPlayerRank API method name
DisplayName string Display name of the player
LoginName string Login name of the player
Position int Position in highscore
Balance money Playable balance
Rounds int Number of rounds played
WonRounds int Number of rounds won
TotalBets money Cumulative total bet of the player
TotalWins money Cumulative total winnings of the player

Error Codes

Code Description
Status=ERROR An error occured
Status=OK Registration successful
ERROR=ParameterName1,ParameterName2,...,ParameterNameN Indicates which parameter names have wrong values

Personal tools