SpreadTrends Data API

<back to all web services

Predictions

Fetches projected winners for upcoming NFL games.

The following routes are available for this service:
GET/api/nfl/predictions
GET/api/nfl/predictions/{Season}
GET/api/nfl/predictions/{Season}/{Week}
Parameters:
NameParameterData TypeRequiredDescription
SeasonpathintNoThe season to fetch games by. Default is the current season.
WeekpathintNoThe week to refine season results by. Default is upcoming games.

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/Predictions HTTP/1.1 
Host: www.spreadtrends.com 
Content-Type: text/jsv
Content-Length: length

{
	date: 0001-01-01,
	season: 0,
	week: 0,
	visitor: String,
	home: String,
	pointSpread: 0,
	projected: String,
	actualWinner: String,
	rating: 0
}