Assistance de TMDB

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éponses (sur la page 1 sur 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

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenêtre ouverte
? Ouvrir la fenêtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenêtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion