Python Oddsblaze SDK
Project description
oddsblaze-python
Python SDK for the OddsBlaze API.
Installation
uv add oddsblaze
Or with pip:
pip install oddsblaze
Quick Start
-
Get an API key at oddsblaze.com
-
Set your API key:
# Option 1: Environment variable
export ODDSBLAZE_API_KEY=your_key
# Option 2: .env file in project root
echo "ODDSBLAZE_API_KEY=your_key" >> .env
# Option 3: Global config file
echo "ODDSBLAZE_API_KEY=your_key" >> ~/.oddsblaze
- Start using the SDK:
from oddsblaze import OddsblazeClient
client = OddsblazeClient()
# Get NFL odds from DraftKings
odds = client.get_odds("draftkings", "nfl")
for event in odds.events:
print(f"{event.teams.away.name} @ {event.teams.home.name}")
Documentation
Full documentation at reecetec.github.io/oddsblaze-python
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
oddsblaze-0.0.1.tar.gz
(112.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
oddsblaze-0.0.1-py3-none-any.whl
(15.3 kB
view details)
File details
Details for the file oddsblaze-0.0.1.tar.gz.
File metadata
- Download URL: oddsblaze-0.0.1.tar.gz
- Upload date:
- Size: 112.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe50fee9acad46aca6afc02ec64e3add149e0a1ef072b52c4a6f0e9aa9d8064e
|
|
| MD5 |
67ccb33b57a6b2ebf3e44379ac972f51
|
|
| BLAKE2b-256 |
ee215bb17e3407721774e108e33be66a0aff6105e5c3aa33d4dc363b6cb0d2bf
|
File details
Details for the file oddsblaze-0.0.1-py3-none-any.whl.
File metadata
- Download URL: oddsblaze-0.0.1-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1773a2e7297d93dd1aeb733d47fb29d44a1bfcd2b7905796c3241d5e9fed9e2f
|
|
| MD5 |
f700fc0d205e83f50efeab2ed853b980
|
|
| BLAKE2b-256 |
62a57ea6edbc59d1a7ab3d4dca9fc9bafaf1a242592b0baf032f9f44b1d0790e
|