Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Yahoo Fantasy Sports OAuth And Request Handler

branch: master
README.md Update README.md
YHandler.py firt commit
auth.csv Revert "remove authpure.csv"
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

Something went wrong with that request. Please try again.