Soporte de The Movie Database

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.

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión