ciacicode / stats.com

Stats.com Python 2.7.9 library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stats.com library

Installation

  1. Clone the repository
  2. cd to the directory /stats.com
  3. Activate your virtual env $ source activate <env>
  4. Execute pip install -r requirements.txt

How to use

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

About

Stats.com Python 2.7.9 library

License:MIT License


Languages

Language:Python 100.0%