Using sportsdataio-php-sdk with sportsdata.io

PHP integration

Install
composer require sportsdataio-php-sdk
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
sportsdataio-php-sdk
PHP
API
sportsdata.io
sportsdata.io:mlb-v3-rotoballer-premium-news
Other SDKs for sportsdata.io
sportsdata-sdk sportsdata
At a glance
Language PHP
Endpoints3
Base URLhttp://azure-api.sportsdata.io/v3/mlb/news-rotoballer