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?
Non riesci a trovare un film o una serie Tv? Accedi per crearlo.
Vuoi valutare o aggiungere quest'elemento a una lista?
Non sei un membro?
Risposta da superboy97
il 8 novembre, 2023 alle 5:56AM
You should write "movie" instead of "movies" as indicated here.
Risposta da tomrist
il 8 novembre, 2023 alle 6:07AM
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 }
Risposta da superboy97
il 8 novembre, 2023 alle 6:09AM
What do you mean by "is it true?". I don't understand your question.
Risposta da tomrist
il 8 novembre, 2023 alle 6:10AM
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
Risposta da superboy97
il 8 novembre, 2023 alle 6:13AM
The informations you get are correct. Why do you think they may be wrong ?
Risposta da tomrist
il 8 novembre, 2023 alle 6:15AM
because i asked only id=3, but it fetched id with different numbers
Risposta da superboy97
il 8 novembre, 2023 alle 6:19AM
No.
In your first query, you have fetch id=2 and in the second one, you have fetch id=18.
Risposta da tomrist
il 8 novembre, 2023 alle 6:20AM
i want to fetch only the id which I want
Risposta da superboy97
il 8 novembre, 2023 alle 6:22AM
The Id is the last value in the URL.
Risposta da tomrist
il 8 novembre, 2023 alle 6:23AM
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 }
Risposta da superboy97
il 8 novembre, 2023 alle 6:24AM
This is the correct answer for the movie with id=3. There is nothing wrong.
Risposta da tomrist
il 8 novembre, 2023 alle 6:30AM
okay thank you
Risposta da robbie3999
il 8 novembre, 2023 alle 10:27AM
The id for the movie is
The other ids
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.