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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file betconnect-0.2.1.tar.gz.

File metadata

  • Download URL: betconnect-0.2.1.tar.gz
  • Upload date:
  • Size: 39.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for betconnect-0.2.1.tar.gz
Algorithm Hash digest
SHA256 82af66e031d64423c152e764fccac108d8c4d0f1375b1c22f3e7e71922f93ac5
MD5 7d7adee212d1453b761551bb359d8294
BLAKE2b-256 75c0dcf8cfda333525232d6dcc7264fe1fb561bb56ade66b45f53b66973f1b51

See more details on using hashes here.

File details

Details for the file betconnect-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: betconnect-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 54.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for betconnect-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 02320a88deb48738a50995052000dee97b8be7f7ccab36ac597d518cf54fff87
MD5 e440f926bfbb13ef849a0f8d30e2cd3b
BLAKE2b-256 f53367659c3b47ec611f24a867193f6db04dfea38610d02fb89ba0a3d7a47c05

See more details on using hashes here.

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