User/favorites

From Justin.tv API Wiki

Jump to: navigation, search

Get all channels who are favorites of a user.

Interface

URL: http://api.justin.tv/api/user/favorites/login.format
Formats: xml, json
Methods: GET
Params: Login must be included for the user. Optional limit and offset params (defaults are 20 for limit and 0 for offset). A live param, when set to true, will restrict results to live channels. Results returned are limited to 100. Results are returned in create date order.
Returns: Channel Object

Examples

<channels>
 <channel>
   <category>social</category>
   <id>20149</id>
   <login>ijustine</login>
   <subcategory>social</subcategory>
   <title>iJustine</title>
   <tags>apple computers ezarik ijustine jobs justine punch steve</tags>
   <category_title>Social</category_title>
   <subcategory_title>Social</subcategory_title>
   <producer>true</producer>
   <language>en</language>
   <timezone>US/Eastern</timezone>
   <channel_url>http://www.justin.tv/ijustine</channel_url>
   <mature>false</mature>
   <image_url_huge>http://static-cdn.justin.tv/jtv_user_pictures/ijustine-320x240-2.jpg</image_url_huge>
   <image_url_large>http://static-cdn.justin.tv/jtv_user_pictures/ijustine-125x94-2.jpg</image_url_large>
   <image_url_medium>http://static-cdn.justin.tv/jtv_user_pictures/ijustine-75x56-2.jpg</image_url_medium>
   <image_url_small>http://static-cdn.justin.tv/jtv_user_pictures/ijustine-50x37-2.jpg</image_url_small>
   <image_url_tiny>http://static-cdn.justin.tv/jtv_user_pictures/ijustine-33x25-2.jpg</image_url_tiny>
   <screen_cap_url_huge>http://static-cdn.justin.tv/previews/live_user_ijustine-320x240.jpg</screen_cap_url_huge>
   <screen_cap_url_large>http://static-cdn.justin.tv/previews/live_user_ijustine-125x94.jpg</screen_cap_url_large>
   <screen_cap_url_medium>http://static-cdn.justin.tv/previews/live_user_ijustine-75x56.jpg</screen_cap_url_medium>
   <screen_cap_url_small>http://static-cdn.justin.tv/previews/live_user_ijustine-50x37.jpg</screen_cap_url_small>
   <screen_cap_url_tiny>http://static-cdn.justin.tv/previews/live_user_ijustine-33x25.jpg</screen_cap_url_tiny>
 </channel>
</channels>
Client Libraries