cURL
curl --request GET \ --url https://v1.hockey.sportsapipro.com/athletes/games \ --header 'x-api-key: <api-key>'
Get game-by-game history for a hockey player
curl -X GET "https://v1.hockey.sportsapipro.com/athletes/games?athleteId=874&numOfGames=10" \ -H "x-api-key: YOUR_API_KEY"
/athletes/top
Your SportsAPI Pro API key
Player ID
874
Number of games to return
10
Player game history retrieved successfully
Was this page helpful?