• Home
  • back to FantasyData.com
FantasyData.com Blog

NFL API Version 3.0 is Live!

8/2/2016

0 Comments

 
We launched version 3.0 of our NFL API!

OK, it sounds dramatic, but it's not a complete re-write. In fact, it's exactly the same as version 2 that you've been using, except for two small changes noted below. We will be asking clients to migrate to version 3 at their convenience. We'll continue supporting version 2 until everyone is switched over. Since it's preseason, this is an opportune time to make the switch, before the regular season starts.

The biggest difference is that we've broken out the various aspects of our API, into four content groups (below). This is because some clients just need live scores, they don't need player stats or projections for their application, and this architecture allows us to support clients' specific needs.
  • Scores
  • Stats
  • Projections
  • Play By Play

Please see the release notes below regarding the differences between version 2 and version 3.

Release Notes

License Key
Your existing subscription key for version 2 will continue to work in version 3. If you have issues with this, please contact support@fantasydata.com.

Base URL
There will be a new base URL for version 3. This is critical, so that version 2 can continue to work while clients migrate to version 3. The base URLs will be as follows.
  • Scores  https://api.fantasydata.net/v3/nfl/scores/...
  • Stats  https://api.fantasydata.net/v3/nfl/stats/...
  • Projections  https://api.fantasydata.net/v3/nfl/projections/...
  • Play By Play  https://api.fantasydata.net/v3/nfl/pbp/...

Deprecated Field
We are removing the following field from all player & fantasy defense stats feeds: CustomD365FantasyPoints

Player Table Feeds
The Player Detail feeds will now show injury information directly in the feed. This change was necessary because the player feed was not showing correct injury information during the offseason and preseason months.

As a result, we deprecated the InjuryStatus node in the player detail feeds, and replaced it with all the injury information being displayed inline. The following fields have been added to the player detail feeds. More details are available in the Data Dictionary.
  • InjuryStatus (replaces deprecated InjuryStatus node)
  • InjuryBodyPart
  • InjuryStartDate
  • InjuryPractice
  • InjuryPracticeDescription
  • InjuryNotes
  • DeclaredInactive

The following APIs are affected by this change.
  • Player Details by Available
  • Player Details by Free Agents
  • Player Details by Team
  • Player Details by Player

Player Stats & Fantasy Defense Stats Feeds
The player stat and fantasy defense stat feeds will now publish stats with decimal points as needed. The reason why we needed to implement this change is to support more precise projected stats by game.

For instance, when stats, such as RushingTouchdowns, are whole numbers, a running back can only have 0 or 1 projected rushing touchdown. This leads to poor precision and accuracy. In version 3, running backs can have, for example, 0.6 projected rushing touchdowns.

​This change affects all feeds that provide player and/or fantasy defense stats & projected stats.

Regards,
FantasyData Support
0 Comments
    Scott Gimpel FantasyData.com
    Scott Gimpel, Founder of FantasyData.com
    View my profile on LinkedIn

    About Author

    Scott Gimpel is the founder of FantasyData.com.  He loves professional football and working with big data.

    Archives

    March 2018
    February 2018
    October 2017
    September 2017
    August 2017
    July 2017
    June 2017
    May 2017
    March 2017
    February 2017
    December 2016
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    May 2014
    January 2014
    August 2013

    Categories

    All

    RSS Feed

    Tweets by @nfldata
©2018 FantasyData LLC | All Rights Reserved 

FantasyData.com is an unofficial and independent source of information not affiliated with the National Football League (NFL), the NFLPA or any other affiliates. For official statistics, please visit NFL.com.