Поддержка The Movie Database

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

7 ответов (на странице 1 из 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.

Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.

Глобальные

s фокусироваться на панели поиска
p открыть меню профиля
esc закрыть открытое окно
? открыть окно сочетаний клавиш

На страницах медиа

b назад (или выше, если применимо)
e перейти на страницу правки

На страницах сезонов

(стрелка вправо) перейти к следующему сезону
(стрелка влево) перейти к предыдущему сезону

На страницах эпизодов

(стрелка вправо) перейти к следующему эпизоду
(стрелка влево) перейти к предыдущему эпизоду

На всех страницах изображений

a открыть окно добавления изображения

На всех страницах правки

t открыть переключатель переводов
ctrl+ s отправить форму

На страницах обсуждения

n создать новое обсуждение
w сменить статус отслеживания
p публичное/приватное
c закрыть/открыть
a открыть страницу действий
r ответить в обсуждении
l перейти к последнему ответу
ctrl+ enter отправить своё сообщение
(стрелка вправо) следующая страница
(стрелка влево) предыдущая страница

Параметры

Хотите поставить оценку или добавить в список?

Войти