Developer API

We’ve always taken an “open” approach to our league data, and we encourage others to use the data as needed for developing third party add-ons. To that end, it’s worth pointing out our Developer’s Program that is perhaps too well hidden. It’s been available for several years, and it allows you to easily gain access to raw league data in XML format. With this XML feed, you can quickly and easily fetch the information into whatever programming environment you’re most comfortable with, be it PHP, ASP, Excel, Java, Perl, or any other programming language that’s capable of reading XML files. Check out the export page for the details of exactly what XML documents we offer via this service.

In addition to accessing league data, you can update league data as well. Check out the import page for the details on what league data can be updated this way.

As with everything else on our site, we’re always looking for customer suggestions and feedback regarding what we offer.  So, if you’re thinking you might be able to use this service, but are looking for different types of data to export, or import, please let us know!

Advertisements

Tags:

13 Responses to “Developer API”

  1. boorad Says:

    Hi guys,

    On this topic, do you allow non-customers to submit requests to this API, even if we don’t have any leagues with you? I’m specifically going after the nflSchedule, for game updates a couple of times a day on game days.

    Thanks!

  2. myfantasyleague Says:

    boorad:

    Yes, we welcome suggestions from anyone! But in this case, I’m guessing we might already provide what you’re looking for. The nflSchedule feed includes real-time game scores, as well as the number of seconds left in the game. Check out the docs at http://football.myfantasyleague.com/2008/export for more details on the nflSchedule feed.

    Thanks!

  3. Phil Derksen Says:

    Great stuff. I can see some great uses coming out of open fantasy stats like this.

    Question on live scoring: Can we scores for individual NFL players while games are going on? It looks like your current live scoring data (#15) shows only overall franchise scores. http://football.myfantasyleague.com/2007/export?TYPE=liveScoring&L=46184&W=12

  4. myfantasyleague Says:

    Sorry about the confusion. No, there isn’t any way to grab the raw stats from the live scoring feed. You are correct that it only shows the franchise scores. The bottom line is that you can use the is Open API to fetch all sorts of fantasy league data, but not actual raw stats.

  5. Player News Sources « MyFantasyLeague.com Says:

    […] into our leagues.  Or if you want to build tools for fantasy football players using our Open Developer’s API, we’d be excited to discuss that with you as well! Possibly related posts: (automatically […]

  6. Draft with FanDraft « MyFantasyLeague.com Says:

    […] draft program (FFLM). But there are still other ways to conduct a draft if desired. Because of our Open Developer’s API, there are several third party draft tools that you can use to conduct your draft or to enhance […]

  7. Draft with MockDraftCentral « MyFantasyLeague.com Says:

    […] with MockDraftCentral Another company that has taken advantage of our Open Developer’s API is MockDraftCentral.com.  They offer a flash-based live draft web application that can be used to […]

  8. Draft Dominator Application « MyFantasyLeague.com Says:

    […] from Bruce Henderson at Footballguys.com.  It now has a league import option that utilizes our Open Developer’s API to import your league settings.  This will save you a ton of time entering your league rules and […]

  9. FantasySharks Draft Coach « MyFantasyLeague.com Says:

    […] and has been available to assist with draft picks ever since then.  It uses our Open Developer’s API to fetch league information for your specific league, including the scoring rules and roster […]

  10. DocEvil Says:

    How often are the exports for things such as NFLSchedule, WeeklyResults, LiveScoring, Player Scores, etc. updated during game times?

    I’ve read through the docs and played with the xml export files, but I can’t find anything that says how frequently they are updated.

  11. myfantasyleague Says:

    nflSchedule and liveScoring are updated in real-time. weeklyResults and playerScores are only updated after preliminary results and final results are issued (a few hours after games are over each day).

  12. DocEvil Says:

    Thanks!

  13. MFL Power « MyFantasyLeague.com Says:

    […] draft.  Check out the MFL Power section of the FFToday.com web site.  Mike MacGregor has used our Open Developer’s API to create a customized cheat sheet for your league.  Just enter your 5-digit League ID from your […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: