user.getInfoByUsername [HTTP GET]
Retrieve the details about a user by username/screenname.
Arguments
api_key (Required)
Your API application key. If you don't have one,
create one.
username (Required)
The username (or screen name) of the user to look within. To run getInfoByUsername on multiple users, simply pass a comma-separated list of username strings.
Example Response
<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok" version="1.0">
<user id="1" name="Andrew Baio" username="waxpancake"
zip="90402" photourl="" url="http://www.waxy.org/" />
<user id="2" name="Leonard Lin" username="lhl"
zip="90006" photourl="http://randomfoo.net/style/200308/me.jpg"
url="http://randomfoo.net/" />
<user id="674" name="Gordon Luk" username="getluky"
zip="90272" photourl="" url="http://www.getluky.net" />
</rsp>
Error Codes
404 Not Found:
- Missing valid api_key - Please create an API key using the above link.
- Your api_key is inactive or not found - Please contact us for support.
- Missing valid username parameter - Your user_id may be improperly formatted or missing.