Sprijin Bază de date filme (The Movie Database)

Can anybody help me I am fetching movie logos but all I get in return is movies in random foreign languages even with my link specifying language = en -US

5 răspunsuri (pe pagina 1 din 1)

Jump to last post

@Mrtravis said:
API MOVIE LOGOS
Can anybody help me
I am fetching movie logos but all I get in return is movies in random foreign languages even with my link specifying language = en -US

You need to give more details about the problem.
Where and how did you make your API Request?

  • In the code you are writing for your APP?
  • In the Try it! available in the Docs?
  • In a Request URL?
  • Somewhere else?

Problems with API Request

In order for someone to help you with API Request questions,
it is critical that you post here the API Request you are sending to the TMDb server.
Remember to replace your Key with MY_KEY , YOUR_KEY , THE_KEY , or something like that.

Not the programming code/script you used to build the API Request.
But the API Request that is sent to the TMDb server.
Or the API Request you would like to send.

in the app that I am building when I use a link to fetch movie logos they are in random languages

@Mrtravis said:
in the app that I am building when I use a link to fetch movie logos they are in random languages

What we need to see posted here is this "link to fetch movie logos".

@Mrtravis said:
https://image.tmdb.org/t/p/w300${movie.logo_path}

It is working correctly.
Try opening it in a tab in your browser.
Logo
https://image.tmdb.org/t/p/original/2LnOk1tYpDpciqkP6QSh7AD7vOd.png
https://image.tmdb.org/t/p/w300/2LnOk1tYpDpciqkP6QSh7AD7vOd.png
https://image.tmdb.org/t/p/original/nK0QOZq8QnIg3DnBROkvCU7z8L8.png
https://image.tmdb.org/t/p/w300/nK0QOZq8QnIg3DnBROkvCU7z8L8.png

Poster
https://image.tmdb.org/t/p/original/adWdXBdXJeCafIS1YtyYkZz6dsK.jpg

https://api.themoviedb.org/3/movie/${movieId}/images?api_key=${apiKey}
here are 2 the main one is the second one

See instructions here. Read carefully.
https://developer.themoviedb.org/reference/movie-images
You need to use the &include_image_language= parameter.
Specify the languages ​​you want.
Example from the movie Spartacus (1960)
https://www.themoviedb.org/movie/967-spartacus

https://api.themoviedb.org/3/movie/967/images?api_key=THE_KEY&include_image_language=null,en,pt,fr,de&language=pt-BR

Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.

Globale

s focalizează bara de căutare
p deschide meniul profilului
esc închide o fereastră deschisă
? deschide fereastra cu scurtături de la tastatură

Pe paginile media

b mergi înapoi (sau la părinte atunci când este cazul)
e mergi la pagina de editare

Pe paginile sezoanelor filmelor seriale

(săgeată dreapta) mergi la sezonul următor
(săgeată stânga) mergi la sezonul precedent

Pe paginile episoadelor filmelor seriale

(săgeată dreapta) mergi la episodul următor
(săgeată stânga) mergi la episodul precedent

Pe toate paginile de imagini

a deschide fereastra pentru adăugarea de imagini

Pe toate paginile de editare

t deschide selectorul de traduceri
ctrl+ s trimite formularul

Pe paginile de discuții

n crează o discuție nouă
w comută starea de vizionare
p comută publică/privată
c comută închisă/deschisă
a deschide activitatea
r răspunde la discuție
l mergi la ultimul răspuns
ctrl+ enter trimite mesajul
(săgeată dreapta) pagina următoare
(săgeată stânga) pagina precedentă

Setări

Doriți să evaluați sau să adăugați acest articol într-o listă?

Autentificare