For Developers : Building integration with your League Manager service

Integration between FanDraft & League Managers


For Developers: FanDraft integration with League Manager services
If you are a company or individual that offers a fantasy football "League Manager" service that is open to the public, we offer the ability to integrate FanDraft with your service. This tool allows users to easily import their draft results into your league manager service, saving time for the user, and ultimately adding value to both your product and ours.

  1. Benefits of Integration

    FanDraft has been around for almost 7 years, and has built up a huge fan base, and vast amount of users (most of whom are league commissioners).

    Building this integration takes very minimal development time, and offers a wealth of opportunity to your product.

    • Added exposure to new potential customers.
    • Added value to your product by offering this powerful, and time saving tool for your user.
    • Increased user retention.
    • Increased brand awareness (Your logo will appear within the software, as well as on our web site).

    Workflow

    Overview: This is the newest way to integrate FanDraft draft results data, and by far the most flexible (and suggested) method.
    The key to success is in the synchronization of the Team, League, and Player ID numbers.
    FanDraft takes care of all of the synchronization, so all you need to do is export some of your information for its use.

    The workflow is as follows:

    1. Users can export an XML data file in FanDraft following the end of their draft
    2. User imports this XML data file into your League Manager service (via a built "Import" tool on your service), and their draft/team data is loaded into your system.

    Data Delivery:

    Step 1: Provide a player list in CSV format that includes (at a minimum) Player IDs, First/Last Names, and Positions.

    Step 2: Develop your own parcing and processing methods for the FanDraft_Export.xml file.

     

    Development Details : Processing the FanDraft .XML export file

    The XML data file contains all of the necessary league and draft data for you to build integration.
    Here is a sample of the export file: FanDraft_Export.xml

    Although the "Player IDs" will match that of your service, it is necessary to sync "Team IDs" to match that of your own. This is why we provide team names, as it is the key field to assist in the synchronization.


    Error Checking:

    Missing Players: If a player doesn't exist in one of the databases, they will be given an playerID of "0".
    League Rules: If your service requires league rosters to meet specific or customized roster "rules" (i.e. maximum of 5 QBs per team), you will want to write in checks for this.



    Getting in contact with us

    If you have any questions, or additional requirements, we would be more than happy to work with you.
    Please feel free to send your questions and comments to .