I'm really struggling in order to get this data object. Any ideas how to get this data?
Title: "The Social Network",
Year: "2010",
Rated: "PG-13",
Released: "7 October 2010",
Runtime: "120 min",
Genre: "Biography, Drama",
Director: "David Fincher, Aaron Sorkin, Ben Mezrich, ",
Writer: "Aaron Sorkin (screenplay), Ben Mezrich (book)",
Actors: "Jesse Eisenberg, Andrew Garfield, Justin Timberlake, Rooney Mara, ",
Plot: "On a fall night in 2003, Harvard undergrad and computer programming genius Mark Zuckerberg sits down at his computer and heatedly begins working on a new idea. In a fury of blogging and programming, what begins in his dorm room soon becomes a global social network and a revolution in communication. A mere six years and 500 million friends later, Mark Zuckerberg is the youngest billionaire in history... but for this entrepreneur, success leads to both personal and legal complications.",
Language: "En",
Country: "USA",
Awards: "",
Poster: "https://m.media-amazon.com/images/M/MV5BOGUyZDUxZjEtMmIzMC00MzlmLTg4MGItZWJmMzBhZjE0Mjc1XkEyXkFqcGdeQXVyMTMxODk2OTU@._V1_.jpg",
imdbRating: "7.7",
imdbVotes: "581347,",
imdbID: "tt1285016",
Type: "movie",
Production: " Columbia Pictures, Relativity Media, Scott Rudin Productions ",
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 June 22, 2020 at 12:44 PM
I don't know if I understood correctly.
If I'm right, start by reading the API Service instructions.
https://developers.themoviedb.org/3/getting-started/introduction
Reply by em8962
on June 22, 2020 at 1:07 PM
Yes you you are right I have got it from :https://api.gdriveplayer.us/v1/imdb/tt1285016
I have already read the docs. It would be really helpful if you could me with the api endpoints to get this exact data
Reply by ticao2 š§š· pt-BR
on June 22, 2020 at 1:31 PM
Great. So you already know that you need an API Key and you need to know the ID of the movie.
The next step is the API Request using the movie ID.
See here https://developers.themoviedb.org/3/movies/get-movie-details
Which in this case would be as follows:
https://api.themoviedb.org/3/movie/37799?api_key=THE_KEY
Reply by em8962
on June 22, 2020 at 1:46 PM
Yeah I know that already I'm saying that movie detail request provides this json data
But where to get directors,actors,writers,imdb rating?
Reply by ticao2 š§š· pt-BR
on June 22, 2020 at 2:41 PM
IMDB Rating does not exist in our database.
We have TMDb Rating, which is already in the response to this API Request you made.
For Cast and Crew you can add &append_to_response to your request.
See here: https://developers.themoviedb.org/3/getting-started/append-to-response
Example: https://api.themoviedb.org/3/movie/37799?api_key=THE_KEY&append_to_response=credits
Or else make a specific API Request for Cast and Crew.
See here: https://developers.themoviedb.org/3/movies/get-movie-credits
Example: https://api.themoviedb.org/3/movie/37799/credits?api_key=THE_KEY
Reply by em8962
on June 22, 2020 at 3:35 PM
Thankyou very much
Reply by kelvin
on February 22, 2021 at 3:44 AM
I could not find the movie rated (example, Rated: "PG-13") in the response object - please show how to get the movie rated (PG, Pg-13, R,....)
Reply by ticao2 š§š· pt-BR
on February 22, 2021 at 8:52 AM
The term used here in the TMDb API for this item is not Rated but Certification.
https://developers.themoviedb.org/3/certifications/get-movie-certifications
And to obtain this data for a specific Movie there are 2 paths.
1 get / movie / {movie_id} / release_dates
https://developers.themoviedb.org/3/movies/get-movie-release-dates
2 Or the Basic API Request with append_to_response.
https://developers.themoviedb.org/3/movies/get-movie-details
&append_to_response=release_dates
EDIT
In case you need more help, please open a specific topic for your problem of being able to access the Certification data.
The subject of this topic is votes, imdb rating, rated.