Python bindings for The Odds-Api
Project description
Python bindings for The Odds-Api.
Description & Implementation
The Odds-API provides sports odds data for loads of sports from bookmakers around the world. Get your free API key at https://the-odds-api.com/.
Usage
Please refer to https://the-odds-api.com/liveapi/guides/v3/ for detailed instructions for The Odds-Api. Below is a simple example of the usage.
from oddsapi import OddsClient
client = OddsClient(api_key="your api key")
sports = client.retrieve_sports()
odds = client.retrieve_odds(
sport_key='americanfootball_ncaaf',
region='us',
mkt='spreads'
)
print(f"Requests Remaining: {client.requests_remaining}")
print(f"Requests Used: {client.requests_used}")
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
oddsapi-1.1.2.tar.gz
(2.6 kB
view hashes)