Suporte do The Movie Database

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 ",

8 respostas (na página 1 de 1)

Jump to last post

@em8962 said:

How to get (imdb votes,imdb rating,production,rated,runtime)
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",
.....
imdbRating: "7.7",
imdbVotes: "581347,",
imdbID: "tt1285016",
Type: "movie",
Production: " Columbia Pictures, Relativity Media, Scott Rudin Productions ",

I don't know if I understood correctly.

  1. The data above you got from IMDB. Am I right?
  2. And you want to know how to get the data from this same film here on TMDb. Am I right?

If I'm right, start by reading the API Service instructions.
https://developers.themoviedb.org/3/getting-started/introduction

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

@em8962 said:

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

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

Yeah I know that already I'm saying that movie detail request provides this json data

{
adult: false,
backdrop_path: "/xxIc4OOQDNGmoN4cSyzNHfoSiGq.jpg",
belongs_to_collection: null,
budget: 40000000,
genres: [
{
id: 18,
name: "Drama"
}
],
homepage: "http://www.thesocialnetwork-movie.com",
id: 37799,
imdb_id: "tt1285016",
original_language: "en",
original_title: "The Social Network",
overview: "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 as a small site among friends 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.",
popularity: 22.007,
poster_path: "/n0ybibhJtQ5icDqTp8eRytcIHJx.jpg",
production_companies: [
{
id: 5,
logo_path: "/71BqEFAF4V3qjjMPCpLuyJFB9A.png",
name: "Columbia Pictures",
origin_country: "US"
},
{
id: 7295,
logo_path: "/5MYE96QiE5a5oFhXxFb4y8ILSpw.png",
name: "Relativity Media",
origin_country: "US"
},
{
id: 258,
logo_path: null,
name: "Scott Rudin Productions",
origin_country: "US"
},
{
id: 11370,
logo_path: null,
name: "Michael De Luca Productions",
origin_country: "US"
},
{
id: 7626,
logo_path: "/4839MGss4pPAalhqqYH1AD1CnEj.png",
name: "Trigger Street Productions",
origin_country: "US"
},
{
id: 34,
logo_path: "/GagSvqWlyPdkFHMfQ3pNq6ix9P.png",
name: "Sony Pictures",
origin_country: "US"
}
],
production_countries: [
{
iso_3166_1: "US",
name: "United States of America"
}
],
release_date: "2010-10-01",
revenue: 224920315,
runtime: 121,
spoken_languages: [
{
iso_639_1: "en",
name: "English"
}
],
status: "Released",
tagline: "You don't get to 500 million friends without making a few enemies.",
title: "The Social Network",
video: false,
vote_average: 7.3,
vote_count: 7704
}

But where to get directors,actors,writers,imdb rating?

@em8962 said:
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?

IMDB Rating does not exist in our database.
We have TMDb Rating, which is already in the response to this API Request you made.

vote_average: 7.3,  
vote_count: 7704  

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

Thankyou very much

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,....)

@tamchau714 said:

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,....)

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.

Não consegue encontrar um certo filme ou série? Inicie sessão e adicione-o.

Geral

s focus the search bar
p abrir menu do perfil
esc close an open window
? open keyboard shortcut window

Em páginas de Média

b go back (or to parent when applicable)
e ir para a página de edição

Em páginas de temporadas de séries

(seta para a direita) ir para a próxima temporada
(seta para a esquerda) ir para a temporada anterior

Em Páginas de Episódios de Séries

(seta para a direita) ir para o próximo episódio
(seta para a esquerda) ir para o episódio anterior

Em Todas as Páginas de Imagens

a abrir janela para adicionar imagem

Em Todas as Páginas de Edição

t open translation selector
ctrl+ s submit form

Em Páginas de Discussão

n criar uma nova discussão
w toggle watching status
p toggle public/private
c toggle close/open
a abrir actividade
r reply to discussion
l ir para a última resposta
ctrl+ enter submit your message
(seta para a direita) página seguinte
(seta para a esquerda) página anterior

Definições

Deseja classificar ou adicionar este item a uma lista?

Iniciar Sessão

Ainda não é um membro?

Crie uma Conta e Adere a Comunidade