Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0"?>
<response>
<timestamp>2012-11-21T16:38:21Z</timestamp>
<resultsOffset>0</resultsOffset>
<status>success</status>
<resultsLimit>5</resultsLimit>
<resultsCount>768</resultsCount>
<notes>
<notesItem>
<headline>Cowboys Great Against Rookie QBs on Thanksgiving</headline>
{
"timestamp":"2012-11-21T16:40:18Z",
"resultsOffset":0,
"status":"success",
"resultsLimit":5,
"resultsCount":768,
"notes":[
{
"headline":"Cowboys Great Against Rookie QBs on Thanksgiving",
"id":8659824,
// Example JSONP request with jQuery
$.ajax({
url: "http://api.espn.com/v1/sports/news/notes",
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",
<?xml version="1.0"?>
<response>
<sports>
<sportsItem>
<name>basketball</name>
<id>40</id>
<leagues>
<leaguesItem>
<name>NCAA Basketball</name>
<abbreviation>mens-college-basketball</abbreviation>
{
"sports":[
{
"name":"basketball",
"id":40,
"leagues":[
{
"name":"NCAA Basketball",
"abbreviation":"mens-college-basketball",
"id":41,
// 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",
{
"resultsLimit":5,
"resultsOffset":0,
"resultsCount":5,
"listings":[
{
"name":"SportsCenter",
"shortName":"",
"id":537483,
"episodeId":"e11493518",
<?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>
//
// GIFDownloader.h
// TheJoysOfCode
//
// Created by Bob on 29/10/12.
// Copyright (c) 2012 Tall Developments. All rights reserved.
//
#import <Foundation/Foundation.h>
@noomerikal
noomerikal / README.md
Created February 17, 2013 21:23 — forked from croaky/README.md

Rails app

is a Rails 3.1 app running on Ruby 1.9.2 and deployed to Heroku's Cedar stack. It has an RSpec and Cucumber test suite which should be run before commiting to the master branch.

Running tests

Create aliases: