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.2.0.tar.gz (70.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.2.0-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oddsblaze-0.2.0.tar.gz
  • Upload date:
  • Size: 70.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.2.0.tar.gz
Algorithm Hash digest
SHA256 ff16a889b6c5d837769a3e574fc2aee442a3466e44e8d0a913c223907173b4e7
MD5 9ea5d6cae4b87b243acd0a1670012d6b
BLAKE2b-256 1324027ec519ba596f347f0543170fe7ec44cec0240cf94ad9d3843bbe2e6e97

See more details on using hashes here.

File details

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

File metadata

  • Download URL: oddsblaze-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 20.7 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 888f50e57ac80aee0f8f36597031292881dab17d47c0853ff8fc45088293ef3c
MD5 a14121290fee77fc06ddee39617e06e6
BLAKE2b-256 4a1a325ddaf78db95e01a393c2f16167ed806c02da03005e794ff9e85b282e99

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