-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API: Change show.seasons
structure
#5121
Comments
I would go with option 1. As its a little unlogic to get a specific season having to loop over them. |
I had to search a little. But it seems we share an opinion. |
@p0psicles Yeah the first option was actually my second suggestion, so I do like it better than the other option. |
Ughh... |
Related to this discussion.
Option 1:
An object where the keys are the season numbers (as strings because JSON doesn't support key indices)
Option 2:
An array of objects
The text was updated successfully, but these errors were encountered: