Created
December 17, 2012 20:20
-
-
Save neurotech/4321787 to your computer and use it in GitHub Desktop.
Latest 5 videos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
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