Get information about a user
- This method call does not require authentication.
- This method does not require any particular permission.
URL
http://www.ipernity.com/api/user.get
Parameters
api_key
|
∗ |
Your api_key.
|
user_id
|
∗ |
The User ID (or User Alias) to get information about.
|
∗ : this parameter is required.
Response
<user user_id="12345" is_pro="0" is_online="0" is_closed="0" tmo="-3600"
username="Superman" realname="Kal-El" alias="superman"
icon="http://u1.ipernity.com/p/AA/12/12345/userphoto.jpg"
link="http://www.ipernity.com/home/superman">
<relation isfamily="0" isfriend="1" iscontact="0" revfamily="1" revfriend="1" revcontact="0"/>
<location country="USA" town="Smallville" lat="43.271221739661" lng="5.3876996040344" />
<count docs="1235" posts="25" network="32"/>
</user>
The flag user.is_closed="1" means the user account is desactivated or temporarily closed by ipernity moderation team.
The realname value is subject to privacy settings and may not always be displayed.
Error codes
| 1 |
User not found |
|
| 100 |
API Key is missing |
| 101 |
API Key is invalid |
| 102 |
Invalid format |
| 103 |
Method not found |
| 104 |
Signature missing |
| 105 |
Signature is invalid |
| 106 |
Token missing |
| 107 |
Token invalid |
| 108 |
Account closed |
| 109 |
Action blocked |
| 110 |
Insufficient permissions |
| 111 |
IP not allowed |
| 112 |
Application Quota Error |
| 113 |
Client IP Quota Error |
| 120 |
HTTP POST required |
| 121 |
Invalid SOAP envelope |
| 122 |
Invalid XML-RPC envelope |
| 500 |
Service error |
| 501 |
Maintenance mode |
| 503 |
Service unavailable |
Changelog
- 2008-12-01: Method created.