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.0.1.tar.gz (112.8 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.0.1-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

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

Hashes for oddsblaze-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fe50fee9acad46aca6afc02ec64e3add149e0a1ef072b52c4a6f0e9aa9d8064e
MD5 67ccb33b57a6b2ebf3e44379ac972f51
BLAKE2b-256 ee215bb17e3407721774e108e33be66a0aff6105e5c3aa33d4dc363b6cb0d2bf

See more details on using hashes here.

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

Hashes for oddsblaze-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1773a2e7297d93dd1aeb733d47fb29d44a1bfcd2b7905796c3241d5e9fed9e2f
MD5 f700fc0d205e83f50efeab2ed853b980
BLAKE2b-256 62a57ea6edbc59d1a7ab3d4dca9fc9bafaf1a242592b0baf032f9f44b1d0790e

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