Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

API to get list of movies by actor or director? [closed]

I am looking for an api to download a list of movies when the search term is an actor, actress or director.

So if actor = "Tom Cruise", I get a list of all his movies. If director = "James Cameron", I get a list of all the movies he directed.

I have checked the sites which use iMDB's api but they search by movie title or imdb id. Same for RottenTomatoes.

I am aware of IMDb's text files.

Any ideas?

like image 471
Tony_Henrich Avatar asked Jul 04 '12 19:07

Tony_Henrich


People also ask

Is there an API for movies?

1. Movie Database (IMDb Alternative) The Movie Database (IMDb Alternative) API is a similar API to the OMDb API, which provides developers basic IMDb data for various movie and TV series.

Is Movie Database API free?

Our API is free to use as long as you attribute TMDB as the source of the data and/or images. However, we reserve the right to charge for the commercial API key in the future.

How do I use OMDb API?

If you haven't already, sign up for an account at http://www.omdbapi.com/apikey.aspx. You'll be sent a verification link containing your API key. Click the link to activate it. That's it!

What API does Fmovies?

GitHub - vendz/fmovies-api: This API is capable of fetching movies/shows from fmovies and provide you with a URL to stream it.


1 Answers

http://www.theimdbapi.org makes this information available via a RESTful JSON API.

From their examples:

http://www.theimdbapi.org/api/find/person?name=jim+carrey

returns all of the info regarding Jim Carrey's films.

I don't believe that it has the parameters to get quite as detailed as you were hoping for, but it could certainly give you the bulk of the information you need.

Edit:

I also noticed that the other posted solution is no longer working. Seems that the location of the documentation for themoviedb.org is actually at this location now:

https://developers.themoviedb.org/3/people

Honestly, it seems a bit more robust.

(I also realized after posting how old this actual issue is, but hopefully it is still helpful to someone who stumbles upon it.. )

like image 64
p_q Avatar answered Jan 01 '23 06:01

p_q