Summary
This API call returns the user’s public details along with it’s relevant metadata.
Endpoint
/users/{username}.{format}
Formats
- XML
Arguments
- username is the vzaar login name for the user. Note: This must be the actual username and not the email address
Parameters
- None
HTTP Methods
- GET
Authentication
- Not Required
Response
<?xml version="1.0" encoding="UTF-8"?> <user> <version>integer</version> <author_name>string</author_name> <author_id>integer</author_id> <author_url>url</author_url> <author_account>integer</author_account> <author_account_title>string</author_account_title> <created_at>dateTime</created_at> <video_count>integer</video_count> <play_count>integer</play_count> </user>
Description
- author_name - This is the vzaar user name (i.e. their login)
- author_id - This is the vzaar user id
- author_url - This is a link to the vzaar user summary page
- author_account - This is a number representing the users vzaar account.
- created_at - This is the date time the video was uploaded. Will be in UTC format
- video_count - This is the numbers of active video in the users account
- play_count - This will be the number of times all the users videos have been played
Example
Call: http://api.vzaar.com/users/exampleuserbob.xml
Response
<?xml version="1.0" encoding="UTF-8"?> <user> <version>1.0</version> <author_name>vzaar</author_name> <author_id>44</author_id> <author_url>http://vzaar.com/users/vzaar</author_url> <author_account>3</author_account> <author_account_title>Free</author_account_title> <created_at>2007-07-12T11:30:13+00:00</created_at> <video_count>98</video_count> <play_count>26122</play_count> </user>