I'm tryna get list of popular movies but I can't see their genres in the data from the API
(https://api.themoviedb.org/3/movies/popular?api_key=<<api_key>>
Also when I'm tryna data about a particular movie with its id, the production companies and production companies are empty.
https://api.themoviedb.org/3/movie/{movie_id}?api_key=<<api_key>>
Any way to go about this please?
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by ticao2 š§š· pt-BR
on December 13, 2020 at 7:15 AM
Your API Request for Popular contains an error.
There's an extra "S" in movie.
As for the companies, make a test seeing the data of this film:
And tell me if you can see the Companies in the answer.
Reply by Zardy
on December 13, 2020 at 7:38 AM
Yea, I see them now but for the genres part does it show only the id? I thought it's meant to also show genre names for the popular movie API data
Reply by ticao2 š§š· pt-BR
on December 13, 2020 at 7:52 AM
Yes, only the ID.
You need to do the conversion to text on your side.
Then you must have the list, in your language, of Genres and respective IDs.
Gender IDs:
Movies
https://developers.themoviedb.org/3/genres/get-movie-list
https://api.themoviedb.org/3/genre/movie/list?api_key=THE_KEY&language=en-US
TV Show
https://developers.themoviedb.org/3/genres/get-tv-list
https://api.themoviedb.org/3/genre/tv/list?api_key=THE_KEY&language=en-US