Skip to main content

A betconnect API client

Project description

Build Status PyPI version Downloads

betconnect

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

docs

join betcode slack group

client requirements

  • 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.

Using the library

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:

  • client.account - login, logout, account preferences
  • client.betting - find active sports, competitions, markets. Create and find bet requests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

betconnect-0.2.1.tar.gz (39.0 kB view hashes)

Uploaded Source

Built Distribution

betconnect-0.2.1-py3-none-any.whl (54.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page