Assistance de TMDB

creating movie app but it is not displaying API data on the main page. it's showing in the console but not on the main page.

can anyone help? I can send you a link to the files.

9 réponses (sur la page 1 sur 1)

Jump to last post

Hi @jeffeyblade,

You probably won't get much help here for programming questions. I would suggest using something like Stack Overflow for these kinds of issues.

If you have a specific TMDb implementation issue than I am happy to help.

I can check your code if you upload your code to github.

Got the problem sorted guys :)

another issue I want to filter films by a good ratings

looking on the API documentation but can't find anything

Discover is what you're looking for. More than 26 options to filter data by. ok_hand

Cheers Travis.

For some reason I can't get my API to work, really strange.

Here is how it looks, I've got it randomising a film now but still picking up gibberish stuff

var movieUrl = 'https://api.themoviedb.org/3/movie/',
    apiKey = 'api_key=###&include_adult=false&language=en-US&region=GB';

Don't know if I could help anywhere do you?

Thanks

Hi Jeffey,

I wouldn't post a API key ;)

For filtering use the discover function:

https://api.themoviedb.org/3/discover/movie

I recommend you to be more familiar with REST and Java/Kotlin. Here is an example TMDb project: https://github.com/UweTrottmann/tmdb-java

(I removed the API key)

@chrisbln said:

I can check your code if you upload your code to github.

Hi Chris,

I don't know Java at all. I have uploaded my app on to GitHub.

if you could, can you look at my IndexAPI.js file, this is where the issue is, I have played around with it but it seems it won't work :(

Thanks

https://github.com/TJeffcock2608/movieApp-/blob/master/IndexAPI.js

Hi Jeffey,

I can only help you with Android/Java/Kotlin but not with JavaScript. :(

The best is to lookup some tutorials / samples.

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