Assistance de TMDB

Hi, How to get popularity for a week/day for only one movie? Thanks.

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

Jump to last post

@Posetitelb said:
How to get popularity for a week/day for only one movie?

A film's popularity varies every day. It depends on several factors. Among them:

  • How many hits occurred on the movie page
  • How many people added the movie to a personal list.
  • How many accesses to the movie data came by API.

There are about 5 more factors that I don't remember.

Every time you make an API Request of the type get/movie/{movie_id}, of a specific film,
you will receive in the response the popularity index of that film, at that moment of your research.
https://developers.themoviedb.org/3/movies/get-movie-details

This may solve your popularity problem for the day.
In order to gain popularity in the week, it is necessary to do this same search for 7 days and then make an average of the values.
This is for a specific film.


EDIT
You can also make an API Request like get/movie/popular and you will receive a list of the most popular ones.
https://developers.themoviedb.org/3/movies/get-popular-movies

Thanks for Answer, but I mean a little different. On your website/page of film -
https://www.themoviedb.org/movie/121-the-lord-of-the-rings-the-two-towers.
There is a popularity trend block at the bottom right.
Is there any one request by which I can get the popularity trend (place in the ranking) property for every single day of the last week for a particular movie ?

@Posetitelb said:
... On your website/page of film -
https://www.themoviedb.org/movie/121-the-lord-of-the-rings-the-two-towers.
There is a popularity trend block at the bottom right.
Is there any one request by which I can get the popularity trend (place in the ranking) property for every single day of the last week for a particular movie ?

Not that I know.
There is no API Request to obtain the daily data, the history, which are available on the "Popularity Trend" curve of any film.

Ok, thanks.

Hello! guys

I know there is no way to get that end_point, but what are the solutions that we can implement so that we can achieve the same result of that Popularity Trend Chart, because it is very useful if it is been used on a poster at MovieList or ShowList, and thank you so much i hope someone would be happy to help me or give me a hand on this point.

best regards Abdelkarim

Hi @mirak2pk, as noted above there is no endpoint to get an existing trend. You would have to get the popularity trend of a title by continually checking the popularity value at whatever interval and duration you are interested in.

If you want to get the daily popularity values, the daily ID exports are probably your best bet.

Trending data is not made available publicly.

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