Using sportsdataio-php-sdk with sportsdata.io

PHP integration

Install
composer require sportsdataio-php-sdk
Dfs Slates By Date
curl \
  -H "Ocp-Apim-Subscription-Key: $API_KEY" \
  http://azure-api.sportsdata.io/v3/soccer/projections/{format}/DfsSlatesByDate/{date}
Injured Players By Competition
curl \
  -H "Ocp-Apim-Subscription-Key: $API_KEY" \
  http://azure-api.sportsdata.io/v3/soccer/projections/{format}/InjuredPlayers/{competition}
Projected Player Game Stats by Date (w/ DFS Salaries)
curl \
  -H "Ocp-Apim-Subscription-Key: $API_KEY" \
  http://azure-api.sportsdata.io/v3/soccer/projections/{format}/PlayerGameProjectionStatsByDate/{date}
SDK on GitHub 📄 API Docs
SDK
sportsdataio-php-sdk
PHP
API
sportsdata.io
sportsdata.io:soccer-v3-projections
Other SDKs for sportsdata.io
sportsdata-sdk sportsdata
At a glance
Language PHP
Endpoints6
Base URLhttp://azure-api.sportsdata.io/v3/soccer/projections