Soporte de The Movie Database

I wrote this url "https://api.themoviedb.org/3/movies/2" to postman and get the response { "success": false, "status_code": 34, "status_message": "The resource you requested could not be found." }. what should I do?

13 respuestas (en la página 1 de 1)

Jump to last post

You should write "movie" instead of "movies" as indicated here.

i got this response. is it true? { "adult": false, "backdrop_path": "/l94l89eMmFKh7na2a1u5q67VgNx.jpg", "belongs_to_collection": null, "budget": 0, "genres": [ { "id": 18, "name": "Drama" }, { "id": 35, "name": "Comedy" }, { "id": 10749, "name": "Romance" } ], "homepage": "", "id": 3, "imdb_id": "tt0092149", "original_language": "fi", "original_title": "Varjoja paratiisissa", "overview": "Nikander, a rubbish collector and would-be entrepreneur finds his plans for success dashed when his business associate dies. One evening, he meets Ilona, a down-on-her luck cashier in a local supermarket—and, falteringly, a bond begins to develop between them.", "popularity": 9.207, "poster_path": "/nj01hspawPof0mJmlgfjuLyJuRN.jpg", "production_companies": [ { "id": 2303, "logo_path": null, "name": "Villealfa Filmproductions", "origin_country": "FI" } ], "production_countries": [ { "iso_3166_1": "FI", "name": "Finland" } ], "release_date": "1986-10-17", "revenue": 0, "runtime": 74, "spoken_languages": [ { "english_name": "English", "iso_639_1": "en", "name": "English" }, { "english_name": "Finnish", "iso_639_1": "fi", "name": "suomi" }, { "english_name": "Swedish", "iso_639_1": "sv", "name": "svenska" } ], "status": "Released", "tagline": "", "title": "Shadows in Paradise", "video": false, "vote_average": 7.203, "vote_count": 288 }

What do you mean by "is it true?". I don't understand your question.

my url is like that https://api.themoviedb.org/3/movie/18. but when I use get with postman it gives me response like that { "adult": false, "backdrop_path": "/wgvc3PmjQGtYYDWaeuV867mnFDs.jpg", "belongs_to_collection": null, "budget": 90000000, "genres": [ { "id": 12, "name": "Adventure" }, { "id": 14, "name": "Fantasy" }, { "id": 28, "name": "Action" }, { "id": 53, "name": "Thriller" }, { "id": 878, "name": "Science Fiction" } ], "homepage": "", "id": 18, "imdb_id": "tt0119116", "original_language": "en", "original_title": "The Fifth Element", "overview": "In 2257, a taxi driver is unintentionally given the task of saving a young girl who is part of the key that will ensure the survival of humanity.", "popularity": 50.696, "poster_path": "/fPtlCO1yQtnoLHOwKtWz7db6RGU.jpg", "production_companies": [ { "id": 9, "logo_path": "/nda3dTUYdDrJ6rZqBpYvY865aDv.png", "name": "Gaumont", "origin_country": "FR" }, { "id": 5892, "logo_path": "/AlfRSqTMw9RIHR2RIzy4pkcaXnY.png", "name": "Buena Vista International", "origin_country": "US" } ], "production_countries": [ { "iso_3166_1": "FR", "name": "France" }, { "iso_3166_1": "US", "name": "United States of America" } ], "release_date": "1997-05-02", "revenue": 263920180, "runtime": 126, "spoken_languages": [ { "english_name": "English", "iso_639_1": "en", "name": "English" }, { "english_name": "Swedish", "iso_639_1": "sv", "name": "svenska" }, { "english_name": "German", "iso_639_1": "de", "name": "Deutsch" } ], "status": "Released", "tagline": "There is no future without it.", "title": "The Fifth Element", "video": false, "vote_average": 7.533, "vote_count": 10018 }

is it true or do I do something wrong? i want not get info other ids

The informations you get are correct. Why do you think they may be wrong ?

because i asked only id=3, but it fetched id with different numbers

@tomrist said:

because i asked only id=3, but it fetched id with different numbers

No.

In your first query, you have fetch id=2 and in the second one, you have fetch id=18.

i want to fetch only the id which I want

@tomrist said:

i want to fetch only the id which I want

The Id is the last value in the URL.

i wrote it as an url https://api.themoviedb.org/3/movie/3 and again got response { "adult": false, "backdrop_path": "/l94l89eMmFKh7na2a1u5q67VgNx.jpg", "belongs_to_collection": null, "budget": 0, "genres": [ { "id": 18, "name": "Drama" }, { "id": 35, "name": "Comedy" }, { "id": 10749, "name": "Romance" } ], "homepage": "", "id": 3, "imdb_id": "tt0092149", "original_language": "fi", "original_title": "Varjoja paratiisissa", "overview": "Nikander, a rubbish collector and would-be entrepreneur finds his plans for success dashed when his business associate dies. One evening, he meets Ilona, a down-on-her luck cashier in a local supermarket—and, falteringly, a bond begins to develop between them.", "popularity": 9.207, "poster_path": "/nj01hspawPof0mJmlgfjuLyJuRN.jpg", "production_companies": [ { "id": 2303, "logo_path": null, "name": "Villealfa Filmproductions", "origin_country": "FI" } ], "production_countries": [ { "iso_3166_1": "FI", "name": "Finland" } ], "release_date": "1986-10-17", "revenue": 0, "runtime": 74, "spoken_languages": [ { "english_name": "English", "iso_639_1": "en", "name": "English" }, { "english_name": "Finnish", "iso_639_1": "fi", "name": "suomi" }, { "english_name": "Swedish", "iso_639_1": "sv", "name": "svenska" } ], "status": "Released", "tagline": "", "title": "Shadows in Paradise", "video": false, "vote_average": 7.203, "vote_count": 288 }

This is the correct answer for the movie with id=3. There is nothing wrong.

okay thank you

@tomrist wrote:

i wrote it as an url https://api.themoviedb.org/3/movie/3 and again got response { "adult": false, "backdrop_path": "/l94l89eMmFKh7na2a1u5q67VgNx.jpg", "belongs_to_collection": null, "budget": 0, "genres": [ { "id": 18, "name": "Drama" }, { "id": 35, "name": "Comedy" }, { "id": 10749, "name": "Romance" } ], "homepage": "", "id": 3, "imdb_id": "tt0092149", "original_language": "fi", "original_title": "Varjoja paratiisissa", "overview": "Nikander, a rubbish collector and would-be entrepreneur finds his plans for success dashed when his business associate dies. One evening, he meets Ilona, a down-on-her luck cashier in a local supermarket—and, falteringly, a bond begins to develop between them.", "popularity": 9.207, "poster_path": "/nj01hspawPof0mJmlgfjuLyJuRN.jpg", "production_companies": [ { "id": 2303, "logo_path": null, "name": "Villealfa Filmproductions", "origin_country": "FI" } ], "production_countries": [ { "iso_3166_1": "FI", "name": "Finland" } ], "release_date": "1986-10-17", "revenue": 0, "runtime": 74, "spoken_languages": [ { "english_name": "English", "iso_639_1": "en", "name": "English" }, { "english_name": "Finnish", "iso_639_1": "fi", "name": "suomi" }, { "english_name": "Swedish", "iso_639_1": "sv", "name": "svenska" } ], "status": "Released", "tagline": "", "title": "Shadows in Paradise", "video": false, "vote_average": 7.203, "vote_count": 288 }

The id for the movie is

... "id": 3, "imdb_id": "tt0092149", "original_language": "fi", "original_title": "Varjoja paratiisissa" ...

The other ids

"genres": [ { "id": 18, "name": "Drama" }, { "id": 35, "name": "Comedy" }, { "id": 10749, "name": "Romance" } ]

"production_companies": [ { "id": 2303, "logo_path": null, "name": "Villealfa Filmproductions", "origin_country": "FI" } ]

are different ids, one for each genre name in the genre array and one for each production company name in the production company array. They are not movie ids.

¿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