SpreadTrends Data API

<back to all web services

Games

Fetches NFL game information by identifier, season, or the week within a season.

The following routes are available for this service:
GET/api/nfl/games
GET/api/nfl/games/{Season}
GET/api/nfl/game/{GameId}
GET/api/nfl/games/{Season}/{Week}
Parameters:
NameParameterData TypeRequiredDescription
GameIdpathintNoThe unique identifier to fetch games by.
SeasonpathintNoThe season to fetch games by. Default is the current season.
WeekpathintNoThe week to refine season results 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/Games HTTP/1.1 
Host: www.spreadtrends.com 
Content-Type: text/jsv
Content-Length: length

{
	gameId: 0,
	date: 0001-01-01,
	season: 0,
	week: 0,
	type: String,
	visitor: String,
	home: String,
	visitorScore: 0,
	homeScore: 0,
	overtime: String,
	pointSpread: 0,
	overUnder: 0,
	stadium: String,
	surface: String,
	notes: String,
	observed: String,
	temperature: 0,
	windSpeed: 0,
	windGustSpeed: 0,
	windDirection: String,
	conditions: String,
	precipitation: String
}