Skip to content

Commit

Permalink
Fix broken link to team stats
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Abrey committed Nov 24, 2019
1 parent 2d83fd5 commit dd5e65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ESPNCollegeFootballStats.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function getTeam(string $id): Team
foreach ($this->seasons as $season) {
$json = file_get_contents(
sprintf(
'https://site.web.api.espn.com/apis/common/v3/sports/football/college-football/athletes/%s/stats?region=gb&lang=en&contentorigin=espn&season=%s',
'https://site.web.api.espn.com/apis/site/v2/sports/football/college-football/teams/%s/athletes/statistics?region=us&lang=en&contentorigin=espn&season=%s',
$id,
$season
)
Expand Down

0 comments on commit dd5e65f

Please sign in to comment.