API To Interact With Fanduel Sportsbook Through Python Selenium
- Ensure you are running prerequisites listed below otherwise you will need to troubleshoot any issues that arise specific to your system setup
- Follow the installation guide outlined below
- Run code outlined in the /example folder for reference
- Feel free to submit a PR as contributions to this repository are welcome
- Python >= 3.6
- Ubuntu >= 18.04
-
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
- Run the following command on your terminal
-
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
- Run the following command on your terminal
-
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
- Run the following command on your terminal
Placeholder
Placeholder