Hi, have purchased a load of data on the basic plan and trying to download using betfairlightweight. Am using the code provided on the github page to download the data, but keep getting timeouts. Any advice? It does seem to work intermittently...
Here is an extract of the error code, is it just that the API is taking too long to respond?
betfairlightweight.exceptions.APIError: GetCollectionOptions
Params: {'toYear': 2019, 'toMonth': 5, 'toDay': 31, 'fromYear': 2016, 'fromMonth': 1, 'fromDay': 1, 'plan': 'Basic Plan', 'sport': 'Soccer'}
Exception: HTTPSConnectionPool(host='historicdata.betfair.com ', port=443): Read timed out. (read timeout=16)
Here is an extract of the error code, is it just that the API is taking too long to respond?
betfairlightweight.exceptions.APIError: GetCollectionOptions
Params: {'toYear': 2019, 'toMonth': 5, 'toDay': 31, 'fromYear': 2016, 'fromMonth': 1, 'fromDay': 1, 'plan': 'Basic Plan', 'sport': 'Soccer'}
Exception: HTTPSConnectionPool(host='historicdata.betfair.com ', port=443): Read timed out. (read timeout=16)


Comment