Metadata-Version: 2.1
Name: betiq
Version: 0.0.17
Summary: An unofficial SDK for The Odds API.
License: MIT
Author: Ian Draves
Author-email: iantdraves@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: furo (>=2023.8.19,<2024.0.0)
Requires-Dist: requests (>=2.31.0,<3.0.0)
Requires-Dist: sphinx (>=7.2.5,<8.0.0)
Description-Content-Type: text/markdown

# betiq

[![CI](https://github.com/iandraves/betiq/actions/workflows/pypi-publish.yml/badge.svg)](https://github.com/iandraves/betiq/actions/workflows/pypi-publish.yml)

[![CI](https://github.com/iandraves/betiq/actions/workflows/docs-publish.yml/badge.svg)](https://github.com/iandraves/betiq/actions/workflows/docs-publish.yml)

An unofficial SDK for [The Odds API v4](https://the-odds-api.com/).

<img src="https://iandraves.github.io/betiq/_static/logo.png" alt="The Odds API logo" width="200"/>

## Installation

```bash
pip install betiq
```

## Usage

```py
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](https://iandraves.github.io/betiq).
