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 .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/PlayByPlay HTTP/1.1 
Host: www.spreadtrends.com 
Content-Type: application/json
Content-Length: length

{"gameId":0,"offensiveTeam":"String","defensiveTeam":"String","type":"String","detail":"String","q":0,"min":0,"sec":0,"down":0,"ydLine":0,"ydLineDirection":"String","ydsToGo":0,"ydsFromOwnGoal":0,"ydsGained":0,"firstDown":"String"}