I'm new in API's , i would like to know how to get a poster path of an image from the movie id that i have just searched.Like where exactly do i see the poster path after making a call. Also do i need to create two url's i.e the image url and the main url or can they be linked together to return both the poster and the movie overview.
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة ticao2 🇧🇷 pt-BR
بتاريخ أغسطس 20, 2020 في 6:36 مساءا
In an API Request of the type get / movie / {movie_id} in addition to receiving the basic data of the Movie,
for example overview, there are 2 items that identify images.
See here https://developers.themoviedb.org/3/movies/get-movie-details
For example:
https://api.themoviedb.org/3/movie/550?api_key=THE_KEY&language=en-US
Then use the basic URL below:
https://image.tmdb.org/t/p/original/wigZBAmNrIhxp2FNGOROUAeHvdh.jpg
https://image.tmdb.org/t/p/original/pB8BM7pdSp6B6Ih7QZ4DrQ3PmJK.jpg
https://image.tmdb.org/t/p/original/rr7E0NoGKxvbkb89eR1GwfoYjpA.jpg
Make sure to read the documentation around images.