The Movie Database-ondersteuning

my api key is not working for fetching poster. error shows everytime, I try to fetch something

1 antwoord (op blad 1 van 1)

Jump to last post

@JEHER_SINGH said:
api key not working my api key is not working for fetching poster.
error shows everytime, I try to fetch something

I don't know if that's what you're asking for, but ...

When an API Request is made, in the responses received you will find the Path of the images:
poster_path or backdrop_path or profile_path or logo_path or still_path.
Something like that:

backdrop_path   "/hZkgoQYus5vegHoetLkCJzb17zJ.jpg"   
poster_path "/r3pPehX4ik8NLYPpbDRAh0YRtMb.jpg"    

To access/download the image use the basic images URL.

https://image.tmdb.org/t/p/  

The request should be similar to these:

https://image.tmdb.org/t/p/[size]/[poster_path]  
https://image.tmdb.org/t/p/original/wigZBAmNrIhxp2FNGOROUAeHvdh.jpg  
https://image.tmdb.org/t/p/w500/wigZBAmNrIhxp2FNGOROUAeHvdh.jpg  

https://image.tmdb.org/t/p/original/wigZBAmNrIhxp2FNGOROUAeHvdh.jpg

Make sure to read the documentation around images.
https://developer.themoviedb.org/docs/image-basics
https://developer.themoviedb.org/reference/configuration-details
Image Sizes

https://api.themoviedb.org/3/configuration?api_key=THE_KEY

Kan ’n rolprent of TV-program nie vind nie? Teken aan om dit te skep.

Globaal

s fokus op soekbalk
p open profielkieslys
esc sluit ’n oop venster
? open sneltoetsvenster

Op mediablaaie

b gaan terug (na ouer waar van toepassing)
e gaan na wysigblad

Op TV-seisoenblaaie

(regterpyl) gaan na volgende seisoen
(linkerpyl) gaan na vorige seisoen

Op TV-episodeblaaie

(regterpyl) gaan na volgende episode
(linkerpyl) gaan na vorige episode

Op alle beeldblaaie

a open beeldtoevoegvenster

Op alle wysigingsblaaie

t open vertaalkieser
ctrl+ s dien form in

Op besprekingsblaaie

n skep nuwe bespreking
w tokkel kykstatus
p tokkel openbaar/privaat
c tokkel maak oop/toe
a open aktiwiteit
r reageer op bespreking
l gaan na laaste reaksie
ctrl+ enter dien u boodskap in
(regterpyl) volgende blad
(linkerpyl) vorige blad

Instellings

Wil u hierdie item gradeer of tot ’n lys toevoeg?

Teken aan