The Movie Database Support

Hi dear. I made a movie filter that can filter genres (I locate &with_genres= in popular movie api). I did try to do same thing for certification or score but it didn't work. My question is how to filter certification or score same as I did with genres

3 replies (on page 1 of 1)

Jump to last post

You didn't mention what your end goal was by filtering by certifications, so I'll give you an example. Here's a query that will only include movies with an MPAA (US) certification of PG-13:

https://api.themoviedb.org/3/discover/movie?api_key=###&certification=PG-13&certification_country=US

You can also use certification.gte and certification.lte to build more dynamic queries.

Travis, isn't there a possibility to add this to tvshows too?

@neufke said:

Travis, isn't there a possibility to add this to tvshows too?

and in reply top my own question:

https://api.themoviedb.org/3/discover/tv?api_key=###&certification=TV-MA&certification_country=US

is working great, thanks!

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?

hyrje