Southpaw

Southpaw is a python package that provides access to the Fanduel API, Fanduel Sportsbook, and custom lineup optimizers.

Installation

Install via PyPi

python -m pip install southpaw

Example Usage

Authenticate with Fanduel

southpaw.get_x_auth_token_and_user_id(email, password)

Create headers with your auth token

southpaw.get_fanduel_headers_with_x_auth(x_auth_token, basic_auth_token)

Get all upcoming contest for a user

southpaw.get_upcoming_contests(user_id, fanduel_headers, sport='any')

GitHub

https://github.com/bcanfield/southpaw