Skip to main content

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

  1. Get an API key at oddsblaze.com

  2. 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
  1. 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


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.1.0.tar.gz (106.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oddsblaze-0.1.0-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file oddsblaze-0.1.0.tar.gz.

File metadata

  • Download URL: oddsblaze-0.1.0.tar.gz
  • Upload date:
  • Size: 106.6 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

Hashes for oddsblaze-0.1.0.tar.gz
Algorithm Hash digest
SHA256 00b159964ac2be075e0096d5de17bb2e38d1a5c3f8526780f5a8ec7af8a90bc3
MD5 49e478b3915d237c66f4806091e2c78e
BLAKE2b-256 213e21edb417b07e6145e0dba39e837d2f306add7a3c50a7206d8c25d9058446

See more details on using hashes here.

File details

Details for the file oddsblaze-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: oddsblaze-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.1 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

Hashes for oddsblaze-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df27a237555feb6583bd89dd0b69d524f73a7a5155ed2d28d103de08fe672ae0
MD5 b9123e635a4dccc442db2e1d7afeaf22
BLAKE2b-256 d8137422bebfde8b4dacd73b705c78b3e0ffddf33a3e0273d469e483fb501b6e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page