Skip to main content

betconnect wrapper

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.3.0.tar.gz (65.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

betconnect-0.3.0-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: betconnect-0.3.0.tar.gz
  • Upload date:
  • Size: 65.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for betconnect-0.3.0.tar.gz
Algorithm Hash digest
SHA256 5b8613e12041138aca9afd34cc280a3ab5abd8f449d63673e75dc6c05a879050
MD5 509bda7a4281a99edb8d0d94a0f732c7
BLAKE2b-256 b960af320f978be522c684763a50bdfa1e562becdb1a0ded46061152125b5c05

See more details on using hashes here.

File details

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

File metadata

  • Download URL: betconnect-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 25.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for betconnect-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58b2388f0e385bd197452952a9ebca38f426ea37e8285a16e6a21cb697e6a969
MD5 b94d3210eba1274cadc3e04027638c9c
BLAKE2b-256 71e9f5999f93b8abe2c99136934985ac3c72109df907cedf242059199b318412

See more details on using hashes here.

Supported by

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