دعم الموقع

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 ردود (على هذه الصفحة 1 من 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.

لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها

عام

s ركز شريط البحث
p افتح قائمة الملف الشخصي
esc اغلق النافذة المفتوحة
? افتح نافذة اختصارات لوحة المفاتيح

على كافة صفحات الوسائط

b ارجع للخلف (او للصفحة الام عند التطبيق)
e انتقل لصفحة التعديل

على كافة صفحات موسم المسلسل

(السهم الايمن) انتقل للموسم التالي
(السهم الايسر) انتقل للموسم السابق

على كافة صفحات حلقة المسلسل

(السهم الايمن) انتقل للحلقة التالية
(السهم الايسر) انتقل للحلقة السابقة

على كافة صفحات الصور

a افتح صفحة اضافة الصورة

على كافة صفحات التعديل

t افتح محدد الترجمة
ctrl+ s ارسال النموذج

على صفحات المناقشة

n انشى نقاش جديد
w تبديل حالة المتابعة
p تبديل عام / خاص
c تبديل اغلاق / فتح
a افتح الانشطة
r رد على النقاش
l انتقل لأخر رد
ctrl+ enter أرسل رسالتك
(السهم الايمن) الصفحة التالية
(السهم الايسر) الصفحة السابقة

الاعدادات

هل تريد تقييم او اضافة هذا العنصر للقائمة؟

تسجيل الدخول