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

Hello. Is there any way to get user rating for movie when doing /movie/{movie_id} request? If app has a validated session id, of course. Also, would be great to get user rating for movies/shows with all common request like /movie/popular.

I'm trying to implement a display of user rating of movie/show in all pages of app, like Popular/Search/Discover/Etc. But for now i didn't find the best way to realize it, rather than fetch rated list in background with /account/{account_id}/rated/movies(tv) request, keep that data in app DB and than connect it with other requests results by TMDb id.

This method requires a lot of extra requests, it does not always show up to date information and requires regular sync with account rated list. So the question is, if there any best way to implement it? Thanks. (Sorry for my poor English)

3 ответов (на странице 1 из 1)

Jump to last post

Hi Ivan,

You bet, the method you're looking for is the account states method.

Cheers.

Thanks for reply, account states method is perfect for movie details page. But what about requests, that returns 20 movies as result, like Get Popular movies? Is there any way to get user rating for all 20 results in same request?

There is no such method right now but I can definitely add one. I use a similar system on the website here, you can see after a page load I toggle the account states of the visible items.

I've created a new ticket for this here. I'll bump this thread when it is complete.

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

Глобальные

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

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

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

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

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

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

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

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

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

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

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

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

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

Параметры

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

Войти