API REST Method: mustwatch
The Magma Must Watch is a list of the top trending videos right now. This is based on an frequency of the number of channels a video is found, degraded over time.
While the results are identical to a regular channel request, the Must Watch does not offer as many parameters.
URL
http://mag.ma/mustwatch.format
Formats
XML, RSS, JSON, YAML, HTML, text
HTTP Method
GET
Authentication
none
Rate Limited
none
Parameters
- page. Optional. Default value is 1.
- callback. Optional. Specify a function callback (JSON format only)
Response
XML Example:
<?xml version="1.0" encoding="UTF-8"?>
<channel>
<created_at type="datetime">2009-12-02T07:07:44Z</created_at>
<featured type="boolean">false</featured>
<id type="integer">13928</id>
<nsfw type="boolean">false</nsfw>
<updated_at type="datetime">2010-01-27T23:37:13Z</updated_at>
<canonical_url>http://mag.ma/mustwatch</canonical_url>
<description></description>
<image_small>http://mag.ma/system/channels/logos/13928/small/magma_big.jpg</image_small>
<image_large>http://mag.ma/system/channels/logos/13928/large/magma_big.jpg</image_large>
<image_icon>http://mag.ma/system/channels/logos/13928/icon/magma_big.jpg</image_icon>
<following_count type="integer">0</following_count>
<followers_count type="integer">0</followers_count>
<tagline></tagline>
<title>Must Watch</title>
<type>system</type>
<videos_count type="integer">3090</videos_count>
<website></website>
<videos type="array">
<video>
<created_at type="datetime">2010-02-26T19:00:07Z</created_at>
<description>In February, the world's top curators and critics nominated the 100 best
design of 2009. Three projects by FAT Lab fellows were in the hunt... but only one can
win. But anyway, it will probably be that dead fashion designer... Free Art and
Technology Lab: playing above our heads since 2007.</description>
<embed>
<object width="400" height="225">
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="movie" value="http://vimeo.com
/moogaloop.swf?clip_id=9749744&amp;show_title=0&amp;
show_portrait=0&amp;color=&amp;fullscreen=1" />
<embed src="http://vimeo.com/moogaloop.swf?clip_id=9749744
&amp;show_title=0&amp;show_portrait=0&amp;color=
&amp;fullscreen=1" type="application/x-shockwave-flash"
allowfullscreen="true" allowscriptaccess="always"
width="400" height="225"></embed>
</object>
</embed>
<id type="integer">420278</id>
<nsfw type="boolean">false</nsfw>
<score type="float">5.1</score>
<source>vimeo</source>
<thumbnail>http://ts.vimeo.com.s3.amazonaws.com/492/116/49211644_200.jpg</thumbnail>
<title>2009: Year of the FAT</title>
<updated_at type="datetime">2010-03-13T00:19:30Z</updated_at>
<canonical_url>http://mag.ma/jamiew/420278</canonical_url>
<in_channel_url>http://mag.ma/greg/420278</in_channel_url>
<views_count type="integer">667</views_count>
<comments_count type="integer">2</comments_count>
<likes_count type="integer">0</likes_count>
<links_count type="integer">0</links_count>
<tags_list nil="true"></tags_list>
<categories_list nil="true"></categories_list>
<source_url>http://vimeo.com/9749744</source_url>
</video>
...
</videos>
</channel>
Example Usage
cURL request:
curl http://mag.ma/mustwatch.xml