Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.65 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.65 KB

fanduel-api

API To Interact With Fanduel Sportsbook Through Python Selenium

Getting Started

  1. Ensure you are running prerequisites listed below otherwise you will need to troubleshoot any issues that arise specific to your system setup
  2. Follow the installation guide outlined below
  3. Run code outlined in the /example folder for reference
  4. Feel free to submit a PR as contributions to this repository are welcome

Prerequisites

  1. Python >= 3.6
  2. Ubuntu >= 18.04

Installation

  1. Clone/Download repository (steps provided below for cloning)

    • Run the following command on your terminal sudo apt-get install git
    • Run the following command on your terminal git clone https://github.com/ribeiro11075/fanduel-api-scrape.git
  2. Install required python packages

    • Run the following command on your terminal sudo apt-get install python3-setuptools
    • Run the following command on your terminal sudo python3 setup.py build
    • Run the following command on your terminal sudo python3 setup.py install
  3. Install chromedriver

    • Run the following command on your terminal sudo apt-get install chromium-chromedriver
    • Navigate to the following folder from the base of the repository cd config/
    • Update the driver_location field with the chromedriver location on your system (steps below to find location)
    • Run the following command on your terminal sudo apt-get install locate
    • Run the following command on your terminal locate chromium-browser/chromedriver
    • Copy and insert the value returned

License

Placeholder

Acknowledgments

Placeholder