SpreadTrends Data API

<back to all web services

Schedules

Fetches NFL schedule information by team name, season, or the week of a specific season.

The following routes are available for this service:
GET/api/nfl/schedule
GET/api/nfl/schedule/{Season}
GET/api/nfl/schedule/{Season}/{Week}
Parameters:
NameParameterData TypeRequiredDescription
SeasonpathintNoThe season to fetch a seasons for.
WeekpathintNoThe week to refine schedule results by.

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/oneway/Schedules HTTP/1.1 
Host: www.spreadtrends.com 
Content-Type: application/json
Content-Length: length

{"date":"\/Date(-62135596800000-0000)\/","season":0,"week":0,"type":"String","visitor":"String","home":"String"}