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 .xml suffix or ?format=xml

HTTP + XML

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

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

<PlayByPlay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpreadTrends.DataTransferObjects">
  <Blocked>String</Blocked>
  <Comp>String</Comp>
  <DefensePts>0</DefensePts>
  <DefenseTOR>0</DefenseTOR>
  <DefensiveTeam>String</DefensiveTeam>
  <Detail>String</Detail>
  <Direction>String</Direction>
  <Distance>0</Distance>
  <Down>0</Down>
  <DriveSeq>0</DriveSeq>
  <FGXP>String</FGXP>
  <FairCatch>String</FairCatch>
  <FieldZone>0</FieldZone>
  <FirstDown>String</FirstDown>
  <Fumble>String</Fumble>
  <GameId>0</GameId>
  <Good>String</Good>
  <IntRetYds>0</IntRetYds>
  <KickGrossYds>0</KickGrossYds>
  <KickNetYds>0</KickNetYds>
  <KickRetYds>0</KickRetYds>
  <KickTouchback>String</KickTouchback>
  <Knee>String</Knee>
  <Location>String</Location>
  <Min>0</Min>
  <NoHuddle>String</NoHuddle>
  <OffensePts>0</OffensePts>
  <OffenseTOR>0</OffenseTOR>
  <OffensiveTeam>String</OffensiveTeam>
  <Penalties>0</Penalties>
  <Pts>0</Pts>
  <PuntGrossYds>0</PuntGrossYds>
  <PuntNetYds>0</PuntNetYds>
  <PuntRetYds>0</PuntRetYds>
  <PuntTouchback>String</PuntTouchback>
  <Q>0</Q>
  <Safety>String</Safety>
  <Sec>0</Sec>
  <Shotgun>String</Shotgun>
  <Spike>String</Spike>
  <Success>String</Success>
  <TimeLen>0</TimeLen>
  <Type>String</Type>
  <YdsFromOwnGoal>0</YdsFromOwnGoal>
  <YdsGained>0</YdsGained>
  <YdsToGo>0</YdsToGo>
</PlayByPlay>