igGameCenter API Developer Guide >> Getting a profile of the specified member | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
For getting an information about a profile of specific member an external application should send a POST request to the following API script:
http://www.iggamecenter.com/api_profile.php
containing the following parameters:
Failure response:
<errorMessage>--Some error message--</errorMessage> Success response: <profile> <curtime>1186039205</curtime> <isFastReg>0</isFastReg> <name>Arty</name> <realName>Arty Sandler</realName> <sex>M</sex> <birthDate>9-1-1978</birthDate> <country></country> <location></location> <about></about> <registrationTime>1179852473</registrationTime> <lastAliveTime>1186032756</lastAliveTime> <idleTimeSec>14</idleTimeSec> <gameStat> <game gid="1" score="272" numGames="76" numWin="54" numLoss="17" numDraw="5" numQuit="0" /> <game gid="2" score="0" numGames="2" numWin="1" numLoss="1" numDraw="0" numQuit="1" /> <game gid="3" score="57" numGames="4" numWin="3" numLoss="0" numDraw="1" numQuit="0" /> <game gid="4" score="148" numGames="16" numWin="13" numLoss="0" numDraw="3" numQuit="0" /> <game gid="5" score="127" numGames="9" numWin="9" numLoss="0" numDraw="0" numQuit="0" /> <game gid="6" score="296" numGames="40" numWin="35" numLoss="4" numDraw="1" numQuit="1" /> <game gid="7" score="79" numGames="16" numWin="10" numLoss="5" numDraw="1" numQuit="0" /> <game gid="8" score="114" numGames="15" numWin="11" numLoss="4" numDraw="0" numQuit="0" /> <game gid="9" score="91" numGames="21" numWin="12" numLoss="7" numDraw="2" numQuit="0" /> <game gid="10" score="128" numGames="18" numWin="13" numLoss="5" numDraw="0" numQuit="0" /> <game gid="11" score="7" numGames="14" numWin="8" numLoss="6" numDraw="0" numQuit="0" /> </gameStat> <gameLog> <game gid="1" createTime="1185957581" durationMin="181"> <players> <player uid="481" name="menaceman" stat="LOST" scoreOld="1500" scoreNew="1490" /> <player uid="2" name="Arty" stat="WIN" scoreOld="1507" scoreNew="1507" /> </players> </game> <game gid="8" createTime="1185908180" durationMin="24"> <players> <player uid="487" name="lizinks" stat="LOST" scoreOld="1600" scoreNew="1590" /> <player uid="2" name="Arty" stat="WIN" scoreOld="1550" scoreNew="1560" /> </players> </game> </gameLog> </profile> where
|