romanzipp / Laravel-Twitch

Twitch Helix API PHP Wrapper for Laravel
https://packagist.org/packages/romanzipp/laravel-twitch
MIT License
108 stars 18 forks source link

Update GamesTrait to add igdb_id as query parameter #153

Closed jenniferlieu closed 10 months ago

jenniferlieu commented 10 months ago

https://dev.twitch.tv/docs/api/reference/#get-games

The get games api now accepts igdb_id as a query parameter. So, the "igdb_id" needs to be added to the parameter array in the getGames function in GamesTrait.

Otherwise, when calling the getGames function with only the "igdb_id" field will throw a validation error.

romanzipp commented 10 months ago

Thanks! Fixed in 4.6.4