Table of Contents
user.getInfo
Description
Returns information about a user.
Parameters
| Required | Type | Name | Description |
|---|---|---|---|
| required | string | user | The user about whom you want information |
Error Codes
| Code | Description |
|---|---|
| 1 | something bad happened during process |
| 2 | user is not a string or is not a valid user login |
| 3 | user is not found into the database |
If an error occured, an xml with the error code and a brief summary are returned.
Please see this page for more details.
Request Example(s)
http://www.pictogame.com/services/public/?method=user.getInfo&game=bastien
Example Return XML
<?xml version="1.0" encoding="UTF-8" ?> <ResultSet totalResultsReturned="1" totalResultsAvailable="1"> <Result> <TotalGames>18</TotalGames> <CommentsMade>18</CommentsMade> <Picture>http://data.ygame/profiles/pict_stienb_947279.jpg</Picture> <TotalViews>2193</TotalViews> <AverageRating>4</AverageRating> <TotalComments>7</TotalComments> </Result> </ResultSet>