duck7000 / imdbGraphQLPHP

IMDb GraphQL API PHP class
11 stars 0 forks source link

Trivia categories #51

Closed duck7000 closed 7 months ago

duck7000 commented 7 months ago

@GeorgeFive I recently found out that trivia actually contains categories just like connections.

The current triva method fetches all categories in one array with or without spoilers.

Is it an idea to make triva (and possibly other methods, not sure jet) categorized just like connections? Or is it fine like it is?

These are the possible categories: actor-trademark cameo director-cameo director-trademark smithee uncategorized

GeorgeFive commented 7 months ago

I personally do not use trivia, but if I did... yeah, I'd say categorized would be the way to go. At least have the data there and give the option to use it if they want.

duck7000 commented 7 months ago

Goof uses categories as well so i will make those two methods categorized just like connections Separate data is a better option i agree

Thanks for your reaction.

duck7000 commented 7 months ago

goof and trivia are now categorized and as far as tested it works great (although i don't use it all myself)

So closing this one as complete