The Movie Database támogatás

Hey guys,

Just started using the API and I'm interested in getting a films box office/budget stats.

Currently I am querying the API as below:

 return {
             "title": movie.get('title'),
             "year": release_year,
             "rating": movie.get('vote_average'),
             "genre": genre_names,
             "actors": get_movie_cast(movie['id'], api_key),
             "gross": movie.get('revenue'),
             "budget": movie.get('budget')
         }

and printing out the return in JSON format to see if its in the movie object

Movie details:

 {
     "adult": false,
     "backdrop_path": "/tmU7GeKVybMWFButWEGl2M4GeiP.jpg",
     "genre_ids": [
         18,
         80
     ],
     "id": 238,
     "original_language": "en",
     "original_title": "The Godfather",
     "overview": "Spanning the years 1945 to 1955, a chronicle of the fictional Italian-American Corleone crime family. When organized crime family patriarch, Vito Corleone barely survives an attempt on his life, his youngest son, Michael steps in to take care of the would-be killers, launching a campaign of bloody revenge.",
     "popularity": 114.857,
     "poster_path": "/3bhkrj58Vtu7enYsRolD1fZdja1.jpg",
     "release_date": "1972-03-14",
     "title": "The Godfather",
     "video": false,
     "vote_average": 8.7,
     "vote_count": 19573
 }

Anyone know where I can access the budget/box office stats from as they don't seem contained in the movie object.

Thanks in advance.

Nem találsz egy filmet vagy egy sorozatot? Jelentkezz be és hozd létre.

Globális

s focus the search bar
p profil menü megnyitása
esc close an open window
? billentyűparancsok ablak megnyitása

Minden média oldalon

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(jobbra nyíl) ugrás a következő évadra
(balra nyíl) vissza az előző évadra

Tévéepizód oldalakon

(jobbra nyíl) ugrás a következő részre
(balra nyíl) vissza az előző részre

Minden kép oldalon

a kép hozzáadása ablak megnyitása

Minden szerkesztő oldalon

t fordítás választó megnyitása
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 ugrás az utolsó válaszhoz
ctrl+ enter submit your message
(jobbra nyíl) következő oldal
(balra nyíl) előző oldal

Beállítások

Want to rate or add this item to a list?

Bejelentkezés