The Movie Database Support

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?

3 replies (on page 1 of 1)

Jump to last post

@Zardy said:
Missing data
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>>  

Your API Request for Popular contains an error.
There's an extra "S" in movie.

https://api.themoviedb.org/3/movies/popular?api_key=<<api_key>>
https://api.themoviedb.org/3/movie/popular?api_key=THE_KEY

As for the companies, make a test seeing the data of this film:

https://api.themoviedb.org/3/movie/550?api_key=THE_KEY  

And tell me if you can see the Companies in the answer.

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

@Zardy said:

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

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

MOVIE
Action          28
Adventure       12
Animation       16
Comedy          35
Crime           80
Documentary     99
Drama           18
Family          10751
Fantasy         14
History         36
Horror          27
Music           10402
Mystery         9648
Romance         10749
Science Fiction 878
TV Movie        10770
Thriller        53
War             10752
Western         37
TV SHOW
Action & Adventure  10759
Animation           16
Comedy              35
Crime               80
Documentary         99
Drama               18
Family              10751
Kids                10762
Mystery             9648
News                10763
Reality             10764
Sci-Fi & Fantasy    10765
Soap                10766
Talk                10767
War & Politics      10768
Western             37

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login