jmcarp / betfair.py

A Python wrapper for the Betfair API
MIT License
103 stars 76 forks source link

allows the Betfair object to take a custom request timeout value #45

Closed ms5 closed 9 years ago

ms5 commented 9 years ago

default http timeouts are a bit too long for most of my cases. This little change allow to set a custom "session_timeout" value, which is passed along to api requests. If timeout is reached a requests.exceptions. ConnectTimeout error is raised

jmcarp commented 9 years ago

Thanks!