This file contains hidden or 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
<?xml version="1.0"?> | |
<response> | |
<timestamp>2012-11-21T16:18:26Z</timestamp> | |
<resultsOffset>0</resultsOffset> | |
<status>success</status> | |
<resultsLimit>5</resultsLimit> | |
<resultsCount>22</resultsCount> | |
<headlines> | |
<headlinesItem> | |
<headline>Lakers edge Nets as Mike D'Antoni makes debut on L.A. bench</headline> |
This file contains hidden or 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
{ | |
"resultsLimit":5, | |
"resultsOffset":0, | |
"resultsCount":5, | |
"listings":[ | |
{ | |
"name":"SportsCenter", | |
"shortName":"", | |
"id":537483, | |
"episodeId":"e11493518", |
This file contains hidden or 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
// Example JSONP request with jQuery | |
$.ajax({ | |
url: "http://api.espn.com/v1/sports/news/headlines", | |
data: { | |
// enter your developer api key here | |
apikey: "{api key}", | |
// the type of data you're expecting back from the api | |
_accept: "application/json" | |
}, | |
dataType: "jsonp", |
NewerOlder