Using sportsdata-sdk with sportsdata.io

Python integration

Install
pip install sportsdata-sdk
Quick start
import sportsdata-sdk

# Set your API key
client = sportsdata_sdk.Client(api_key="YOUR_API_KEY")
Premium News
curl \
  -H "Ocp-Apim-Subscription-Key: $API_KEY" \
  http://azure-api.sportsdata.io/v3/mlb/news-rotoballer/{format}/RotoBallerPremiumNews
Premium News by Date
curl \
  -H "Ocp-Apim-Subscription-Key: $API_KEY" \
  http://azure-api.sportsdata.io/v3/mlb/news-rotoballer/{format}/RotoBallerPremiumNewsByDate/{date}
Premium News by Player
curl \
  -H "Ocp-Apim-Subscription-Key: $API_KEY" \
  http://azure-api.sportsdata.io/v3/mlb/news-rotoballer/{format}/RotoBallerPremiumNewsByPlayerID/{playerid}
SDK on GitHub 📄 API Docs
SDK
sportsdata-sdk
Python
API
sportsdata.io
sportsdata.io:mlb-v3-rotoballer-premium-news
Other SDKs for sportsdata.io
sportsdataio-php-sdk sportsdata
At a glance
Language Python
Endpoints3
Base URLhttp://azure-api.sportsdata.io/v3/mlb/news-rotoballer