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 ?
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por Travis Bell
el 20 de abril de 2018 a las 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?
Contestado por tornado1979
el 20 de abril de 2018 a las 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
Contestado por Travis Bell
el 20 de abril de 2018 a las 11:52
Understood.
Correct, since we return multiple genre objects this wouldn't really be possible.