TMDB podrška

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 odgovor (na stranici 1 od 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.

Ne možete pronaći film ili TV seriju? prijavite se da biste ga napravili.

Global

s focus the search bar
p otvorite izbornik profila
esc zatvori otvoreni prozor
? open keyboard shortcut window

On media pages

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

On TV season pages

(desna strelica) idi na sljedeću sezonu
(left arrow) go to previous season

On TV episode pages

(desna strelica) idi na sljedeću epizodu
(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 otvori aktivnost
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(desna strelica) sljedeća stranica
(left arrow) previous page

Postavke

Want to rate or add this item to a list?

Prijavi se