The Movie Database Support

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.

1 reply (on page 1 of 1)

Jump to last post

@PatrickAngela said: ? How do i get a poster path
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.

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

poster_path: "/pB8BM7pdSp6B6Ih7QZ4DrQ3PmJK.jpg"  
backdrop_path: "/rr7E0NoGKxvbkb89eR1GwfoYjpA.jpg" 

Then use the basic URL below:

https://image.tmdb.org/t/p/original/[poster_path]

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.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

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

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
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 go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login