Simple python wrapper for the BetConnect api, allowing for retriveal of data for active betting markets and betting operations associated with those markets, see examples
-
betconnect account (client required username & password) - can be set up via the staging and production websites.
-
api key - the api key associated with you account. Unique per environment.
-
personalised production url - live (production) accounts have unqiue urls associated with your account.
import betconnect
# create a client
client = betconnect.APIClient(username='username',
password='password',
api_key='api_key',
personalised_production_url='https://custom.betconnect.com/')
# login
client.account.login()
# find active sports
active_sports = client.betting.active_sports()
Available endpoints: