SpreadTrends Data API

<back to all web services

Players

Fetches NFL players by season (returns players with offensive statistics only).

The following routes are available for this service:
GET/api/nfl/players
GET/api/nfl/players/{Season}
Parameters:
NameParameterData TypeRequiredDescription
SeasonpathintNoThe season to find players by. Default is the current season.

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

<Players xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpreadTrends.DataTransferObjects">
  <College>String</College>
  <FirstName>String</FirstName>
  <LastName>String</LastName>
  <PlayerId>String</PlayerId>
  <Position>String</Position>
  <Season>0</Season>
  <Status>String</Status>
  <Team>String</Team>
  <UniformNumber>0</UniformNumber>
</Players>