Yahoo Fantasy Sports OAuth And Request Handler
Python
Latest commit 6412c18 Mar 2, 2014 @mleveck Merge pull request #1 from almartin82/patch-1
Update README.md
Permalink
Failed to load latest commit information.
README.md Update README.md Mar 2, 2014
YHandler.py firt commit Nov 30, 2012
auth.csv Revert "remove authpure.csv" Dec 5, 2012

README.md

YHandler

Yahoo Fantasy Sports OAuth And Request Handler

This is the Python Script I use to access the Yahoo Fantasy Sports API via OAuth for my desktop app. It's far from polished, and not the most generalized. However, following these steps should work:

  • Place your consumer key, and consumer secret in the auth.csv file
  • call: from YHandler import *
  • create a handler with: var_name = YHandler('auth.csv')

The app needs the following libraries, which you can install using pip:

Requests: http://docs.python-requests.org/en/latest/

Requests-oauth: https://github.com/maraujop/requests-oauth