jikan-me / jikan-rest

The REST API for Jikan
https://docs.api.jikan.moe/
MIT License
413 stars 268 forks source link

Refactor `getSeasonItems` function in `QuerySpecificAnimeSeasonHandler` #449

Open pushrbx opened 8 months ago

pushrbx commented 8 months ago

The getSeasonRange should be inside the DefaultAnimeRepository class, and the signature of the getAiredBetween should be getAiredBetween($year, $season, $type) or we should create a getBySeason($year, $season, $type) function.

_Originally posted by @pushrbx in https://github.com/jikan-me/jikan-rest/pull/448#discussion_r1372262225_