Anonymous Anonymous - 27 days ago
654 0

No description

Other

testy

pi@raspberrypi|~/Desktop/dk_results (develop)
$ python dkcontests.py -s NFL -d 2019-10-27 -e 50
Namespace(date=datetime.datetime(2019, 10, 27, 0, 0), entry=50, exclude=None, live='', query=None, sport='NFL')
https://www.draftkings.com/lobby/getcontests?sport=NFL
response is a dict
Breakdown per date:
2019-10-24 - 979 total contests
Single-entry double ups:
     $1: 60 contest(s)
     $2: 2 contest(s)
     $3: 35 contest(s)
     $5: 36 contest(s)
     $10: 32 contest(s)
     $25: 29 contest(s)
     $50: 10 contest(s)
     $100: 7 contest(s)
     $250: 3 contest(s)
     $530: 2 contest(s)
     $1060: 1 contest(s)
2019-10-27 - 1372 total contests
Single-entry double ups:
     $1: 46 contest(s)
     $2: 1 contest(s)
     $3: 33 contest(s)
     $5: 40 contest(s)
     $10: 22 contest(s)
     $25: 27 contest(s)
     $50: 15 contest(s)
     $100: 12 contest(s)
     $250: 5 contest(s)
     $530: 2 contest(s)
     $1060: 3 contest(s)
     $2120: 1 contest(s)
contests size: 2351
number of contests meeting requirements: 15
{'start_date': '/Date(1572195600000)/', 'name': 'NFL MASSIVE $50 Double Up [Single Entry]', 'id': 78887683, 'draft_group': 30728, 'total_prizes': 100000, 'entries': 2272, 'entry_fee': 50, 'entr
y_count': 0, 'max_entry_count': 1, 'attr': {'IsGuaranteed': 'true', 'IsDoubleUp': 'true', 'IsStarred': 'true', 'IsFiftyfifty': 'true'}, 'is_guaranteed': 'true', 'is_double_up':'true', 'start_dt
': datetime.datetime(2019, 10, 27, 13, 0)}
dates are the same
*/10 13-19 27 10 * cd /home/pi/Desktop/dk_results && /usr/local/bin/pipenv run python download_DK_salary.py -s NFL -dg 30728 >> /home/pi/Desktop/NFL_results.log 2>&1
*/5 13-19 27 10 * export DISPLAY=:1 && cd /home/pi/Desktop/dk_results && /usr/local/bin/pipenv run python main.py -s NFL -i 78887683 >> /home/pi/Desktop/NFL_results.log 2>&1
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download