joesaunderson / sportmonks-soccer

PHP API Client for Sportmonks Soccer API
MIT License
22 stars 14 forks source link

Not working method (Stage -> getBySeasonId) #18

Closed wpdomoneto closed 4 years ago

wpdomoneto commented 4 years ago

sportmonks-soccer\src\Endpoint\Stage.php

Current version:
public function getBySeasonId(int $seasonId) { $url = "stages/{$seasonId}"; return $this->call($url); }

Need version: public function getBySeasonId(int $seasonId) { $url = "stages/season/{$seasonId}"; return $this->call($url); }

Fix it please. Thank you.

joesaunderson commented 4 years ago

Hi there, feel free to raise this as a PR and get it in the next release.

joesaunderson commented 4 years ago

Fixed in https://github.com/joesaunderson/sportmonks-soccer/pull/20

joesaunderson commented 4 years ago

Released as https://github.com/joesaunderson/sportmonks-soccer/releases/tag/v0.3.2