on discover API , https://www.themoviedb.org/documentation/api/discover
there are some examples on how to 'sort' movies. I m looking a query to sort the movies by 'genre' . does anyone know how we can do that ?
Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.
Diesen Eintrag bewerten oder zu einer Liste hinzufügen?
Kein Mitglied?
Antwort von Travis Bell
am 20. April 2018 um 11:33
Hi @tornado1979,
There is no way to sort by genre, no. I'm not clear on how you'd expect the results to be returned in that case, can you give me some background info on what you're looking for?
Antwort von tornado1979
am 20. April 2018 um 11:49
Hi Travis, thanks for your interest.
i would expect the final outcome to be like below, movies in a list based on their category (action,animation etc), but as i see the structure of the json data and genres are on a separate json, it seems not possible.
..... and so on
Antwort von Travis Bell
am 20. April 2018 um 11:52
Understood.
Correct, since we return multiple genre objects this wouldn't really be possible.