Python SDK for the OddsBlaze API.
uv add oddsblazeOr with pip:
pip install oddsblaze-
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}")Full documentation at reecetec.github.io/oddsblaze-python