Skip to content

Instantly share code, notes, and snippets.

@neurotech
Created December 17, 2012 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neurotech/4321787 to your computer and use it in GitHub Desktop.
Save neurotech/4321787 to your computer and use it in GitHub Desktop.
Latest 5 videos
<!--
Accessing this:
http://api.giantbomb.com/videos/?api_key=SECRET&field_list=name&limit=5&sort=publish_date&format=xml
generates the XML below.
How can I get the API to give me the 5 latest videos instead of (I assume) the 5 oldest?
-->
<response>
<error>
<![CDATA[ OK ]]>
</error>
<limit>5</limit>
<number_of_page_results>5</number_of_page_results>
<number_of_total_results>6627</number_of_total_results>
<offset>0</offset>
<results>
<video>
<name>
<![CDATA[ NON SUBSCRIBER VIDEO ]]>
</name>
</video>
<video>
<name>
<![CDATA[ Bad Company Review ]]>
</name>
</video>
<video>
<name>
<![CDATA[ Giant Bomb at E3 2008: Day 03 or 04 ]]>
</name>
</video>
<video>
<name>
<![CDATA[ Giant Bomb Tour ]]>
</name>
</video>
<video>
<name>
<![CDATA[ Giant Bomb at E3 2008: Day 01 ]]>
</name>
</video>
</results>
<status_code>1</status_code>
</response>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment