Install a virtual environment, suggested Conda: https://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/20/conda/
- Clone the repository
- cd to the directory
/stats.com
- Activate your virtual env
$ source activate <env>
- Execute
pip install -r requirements.txt
Edit the config.py file with your Stats.com API info
import stats
from config import Config
#instantiate an EPLRequest
EPL = EPLRequest(Config)
params = {'startDate':'20160812', 'endDate':'20160819'}
events = EPL_request.get_events(params)
print events