user.getInfo

Description: 

Returns updated user info


Authentication : REQUIRED
Parameters: 
apikey : application developer identifier[R]
country : user country
format : output format

Return values: 

user updated infos

Notes:
The 'stream' tag contains these tags:
- 'unlimited': boolean, indicates if user has unlimited streaming
- 'remaining': if 'unlimited' is 0, it indicates how many streaming credits are available
- 'waitFor': if 'unlimited' and 'remaining' are 0, it indicates the waiting period (minutes) for new streaming credits


Sample call
http://api.playme.com/user.getInfo?_PONY=12-dd6f1f38c007c83f5e4a0004986ca68r999999END&country=us

Sample Result: XML
<?xml version="1.0" encoding="UTF-8"?> 
<response>
 <isLogged>1</isLogged>
<loggedUser>
 <userName>testuser</userName>
 <displayName>TestUser</displayName>
 <authCode>
   xxxxxxxxxxxxxxxxxx
 </authCode>
 <country>us</country>
 <credits>0</credits>
 <minutes>99999</minutes>
 <userType>pay</userType>
 <stream>
  <unlimited>1</unlimited>
  <remaining>-1</remaining>
  <waitFor>0</waitFor>
 </stream>
</loggedUser>
<user>
 <credits>0</credits>
 <minutes>99999</minutes>
</user>
</response>

Sample Result: JSON
{
 "response":{
  "isLogged" :  "1"
 ,
 "loggedUser" : {
   "username" : "testuser",
   "displayName" : "TestUser",
   "authCode" : "xxxxxxxxxxxxxxxxxx",
   "country" : "us",
   "credits" : "0",
   "minutes" : "99999",
   "userType": "pay",
   "stream" : {
   		"unlimited" : "1",
   		"remaining" : "-1",
   		"waitFor" : "0"
   }
 }
 , 
  "user" : {
      "credits" : "0",
      "minutes" : "99999"
  }
 }
}


Caching suggestions
Do not cache