Summary

This API call returns the user's public details along with its relevant metadata.

Endpoint

/api/users/{username}.{format}

Formats

  • XML
  • JSON

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>string</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>
  <bandwidth_this_month>integer</bandwidth_this_month>
  <bandwidth>
  <period month="integer" year="integer">integer</period>
  </bandwidth>
  <videos_total_size>integer</videos_total_size>
  </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 user's vzaar account.
  • created_at - This is the date time the video was uploaded. Will be in UTC format
  • video_count - This is the number of active videos in the user's account
  • play_count - This will be the number of times the user's videos have been played
  • bandwidth_this_month - This will be a number representing bandwidth from the current month
  • bandwidth/period - This will be the params representing bandwidth for a given month (last 13 months with bandwidth > 0 will be presented)
  • videos_total_size - This will be a number representing total size of stored videos

Example

Call: http://vzaar.com/api/users/exampleuserbob.xml

Response

<?xml version="1.0" encoding="UTF-8"?>
  <user>
  <version>1.0</version>
  <author_name>exampleuserbob</author_name>
  <author_id>44</author_id>
  <author_url>http://vzaar.com/users/exampleuserbob</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>127</video_count>
  <play_count>5188</play_count>
  <bandwidth_this_month>97123912</bandwidth_this_month>
  <bandwidth>
  <period month="3" year="2014">97123912</period>
  <period month="2" year="2014">34222572</period>
  <period month="1" year="2014">91212432</period>
  <period month="12" year="2013">53453423</period>
  <period month="11" year="2013">28532423</period>
  <period month="10" year="2013">3492323</period>
  <period month="9" year="2013">2084925</period>
  <period month="8" year="2013">19385373</period>
  <period month="7" year="2013">9275293</period>
  <period month="6" year="2013">923423427</period>
  <period month="5" year="2013">29324423</period>
  <period month="4" year="2013">9742342</period>
  <period month="3" year="2013">92352342</period>
  </bandwidth>
  <videos_total_size>6601764</videos_total_size>
  </user>

contact us   by phone, mail or twitter...
libraries
ruby java php .net node
affiliates
affiliate program


Powered by Olark