Thank you for stopping by to check out the Fantasy Sports API! We're really hopeful that we'll be able to build something cool together.
I'm setting up this pinned topic to aggregate general helpful information to help you get rolling with using our APIs. For right now, it'll mostly be documentation links -- hopefully we'll get some examples and tips/tricks in here over time. But let's get right into those documentation links!
Introductory MaterialFantasy Sports API home pageIntroductory blog post on the YDN blogFantasy Sports API documentationThe above links will help describe some of the motivation for why we're getting these services out there, as well as what data is currently available and how you're supposed to access it.
OAuthPrimary OAuth documentationThe OAuth Authorization FlowOAuth libraries for various languagesCreating a New OAuth Project w/ Yahoo!OAuth is the authentication mechanism for these services. The YDN links above describe what's happening under the covers and how you formulate the appropriate requests to pull out the authentication tokens that you'll need, but most of the time it'll be easiest to just find the appropriate library for your language of choice and plug in the right values. If you click the last link, you'll be taken to a form to create an OAuth project -- you should find Fantasy Sports under the Access Scopes section if you click the "This app requires access to private user data" radio button.
YQLWhat is YQL?Fantasy Sports data tables in the YQL consoleYQL is a nice wrapper for exploring webservice data in a SQL-like fashion, and we have a couple data tables defined for Fantasy Sports. It's not even close to complete coverage, but they should give you a general idea about what data is out there and what the schema looks like. You can find our data tables if you look on the right column under "Data Tables" for "fantasysports".
Non-Commercial UseTerms of Service threadThere are a lot of questions swirling about the non-commercial use clause in our TOS. As it stands right now, yes, we technically can only support non-commercial applications for these services -- we're actively looking into how to support commercial licenses but don't have any explicit time frame for when/if that might show up. We'll definitely let you know as soon as possible. Read the thread above for a more nuanced explanation.
Yahoo! Fantasy SportsFantasy Sports homepageIf you actually want to play our games, if for no other reason than to gather up some test data, that's where you should start.
Who Are We?You'll most often see
Sean Montgomery or
Shane K wandering around trying to answer your questions. We're the primary developers for these services. We'll have the little Yahoo! icon beneath our names. No, we can't give you more fantasy points so you can beat your friend in your current week's matchup, even if you write a really cool application.
Hopefully all of this is enough to get you going on developing whatever crazy fantasy idea you've been waiting to implement. If you have any other questions, feel free to ask in this forum!