SpreadTrends Data API

<back to all web services

PlayByPlay

Fetches NFL play by play information for a specific game.

The following routes are available for this service:
GET/api/nfl/playbyplay/{GameId}
Parameters:
NameParameterData TypeRequiredDescription
GameIdpathintYesThe unique identifier to fetch play by play information by.

To override the Content-type in your clients HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/oneway/PlayByPlay HTTP/1.1 
Host: www.spreadtrends.com 
Content-Type: text/jsv
Content-Length: length

{
	gameId: 0,
	offensiveTeam: String,
	defensiveTeam: String,
	type: String,
	detail: String,
	driveSeq: 0,
	timeLen: 0,
	q: 0,
	min: 0,
	sec: 0,
	offensePts: 0,
	defensePts: 0,
	offenseTOR: 0,
	defenseTOR: 0,
	down: 0,
	ydsToGo: 0,
	ydsFromOwnGoal: 0,
	fieldZone: 0,
	ydsGained: 0,
	success: String,
	firstDown: String,
	shotgun: String,
	noHuddle: String,
	pts: 0,
	knee: String,
	direction: String,
	comp: String,
	spike: String,
	location: String,
	penalties: 0,
	intRetYds: 0,
	fumble: String,
	safety: String,
	blocked: String,
	fgxp: String,
	distance: 0,
	good: String,
	puntGrossYds: 0,
	puntNetYds: 0,
	puntTouchback: String,
	puntRetYds: 0,
	fairCatch: String,
	kickGrossYds: 0,
	kickNetYds: 0,
	kickTouchback: String,
	kickRetYds: 0
}