/betiq

An unofficial SDK for The Odds API v4.

Primary LanguagePythonMIT LicenseMIT

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.