LEAGUE MENU
Select A Category: All | Commissioner News
Show me an article titled
Site News
2020 Developers API Release Notes (Published Tue Feb 4 4:00:00 p.m. ET 2020)

During this offseason we've made a few changes to the MyFantasyLeague.com Developer's API. These changes are described below. We will add entries here as necessary during the early part of the offseason. The goal is to have the API stable by mid-May. After that the only changes that we will make will be bug fixes.

  • First of all, we have introduced an API Client Registration process. While registering your client is not a requirement to use the API, you will want to register it if you plan to use it for any kind of significant tasks. Unregistered clients will be subject to usage limits. There's more information about this on the main Developers API page.
  • The live_chat request which was used to make draft picks has finally been removed. Last year we introduced the live_draft request as a replacement.
  • The FRANCHISE_ID parameter, which was used on a few import functions to specify the target franchise of an operation has been renamed to FRANCHISE. FRANCHISE_ID will now be used exclusively to specify the franchise to impersonate. The difference between target franchise and impersonate is subtle: using a target franchise the commissioner does an operation on an owner's franchise, while impersonate the commissioner does the operation as the franchise.
  • Non-league specific calls must be directed to api.myfantasyleague.com and be made via SSL protocol (https). These are all requests that do not have L= parameter. This requirement does not apply to calls embedded on league pages via javascript. In that case you must continue to use the local host to avoid cross-domain issues.
  • The ADP request parameters have been changed. The FRANCHISES parameter has been renamed FCOUNT to avoid confusion with other uses of FRANCHISES, and the way to filter results by time has been completely revamped. This is now a simpler system that relies on specifying the PERIOD parameter to request data for drafts that started after one of a several key dates.
  • (Added Feb 5)The Trades requests now work with a trade ID. Instead of having to pass the various trade elements on every request, now the tradeResponse can indicate which trade to operate on via a trade id. The pendingTrades request will provide these ids.
  • (Added Feb 19)The nflSchedule API request has been deprecated and will not return scores or the status for in-progress games. Check this FAQ for the new way to obtain this info.

File last updated on February 6, 2020.