Skip to main content

An unofficial SDK for The Odds API.

Project description

betiq

CI

CI

An unofficial SDK for The Odds API v4.

The Odds API logo

Installation

pip install betiq

Usage

import betiq

odds = betiq.get_odds(
    api_key={THE_ODDS_API_API_KEY},
    sports=["upcoming"],
    regions=["us", "us2", "uk", "au", "eu"],
    markets=["h2h"],
    date_format="iso",
    odds_format="decimal",
)

print(odds) # Dictionary with the latest odds data

Documentation

Read the docs.

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

betiq-0.0.18.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

betiq-0.0.18-py3-none-any.whl (7.8 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