Suporte do The Movie Database

I was wondering if there was any way to get the date/time of when a user rated a certain film. Currently i'm using the 'GET /account/{account_id}/rated/movies' call and i know there's nothing contained in the return that i could use but i didn't know if there was any other way to do this?

Basically i'm trying to create a "Recently Watched" section on my website and i'm pulling the backdrop, movie title and the rating i gave for the movie and then ordering that then by the 'created_at.desc' variable in the url being used to pull the feed. I didn't know if there was a better way to do this (maybe via lists)?

Any advice would be great!

I apologise if this has already been answered elsewhere, i have searched about but i can't seem to find anything relating to what i potentially want to achieve.

4 respostas (na página 1 de 1)

Jump to last post

Hi David,

Not right now but I have plans to add the date it was rated. Actually, I have plans to add the dates to all 3 of the account lists (rated, watchlist and favourites).

P.S. Here on TMDb, our account "watched" lists are assumed to be the rated list. There's some nice things that using the rated list gets you like auto-removing the item from your watchlist when rated. What I've noticed though is that a lot of this comes down to marketing and I've actually been thinking of re-naming the rated lists to Watched or Seen.

Having a "Watched" list would be perfect for what I need. Having the ability to pull the list, ordered by date watched (or date added to the list) and then also have the ability to pull either the backdrop or poster, plus the rating would fix my need. I understand that things like this aren't made for one user, but I'm pretty sure that having this functionality would benefit the API in general.

When I'm done doing what I'd planned, I'll send you over my source code so you can see if there's a better way of me doing what I'm doing if that's ok with you?

So far... the API is pretty good, very well documented and seriously easy to use... Thanks for that :)

Hi David,

You can already everything you're asking for with the account rated method except the date that that you rated it. You can however sort by created_at.desc so you can at least order by most recently rated. I still think adding the date to the response could be useful since then you can show the user when they rated it. It's the same thing I have plans for right here on TMDb.

I want to go over these lists here on TMDb with a second pass and when I do, the API will get the extra data. The API is actually powering a lot of the website now days.

Oh i know... The API is already doing everything that i need.

I'm looking forward to seeing the potential update though! That would make things 10x easier ;)

Thanks again!

Não consegue encontrar um certo filme ou série? Inicie sessão e adicione-o.

Geral

s focus the search bar
p abrir menu do perfil
esc close an open window
? open keyboard shortcut window

Em páginas de Média

b go back (or to parent when applicable)
e ir para a página de edição

Em páginas de temporadas de séries

(seta para a direita) ir para a próxima temporada
(seta para a esquerda) ir para a temporada anterior

Em Páginas de Episódios de Séries

(seta para a direita) ir para o próximo episódio
(seta para a esquerda) ir para o episódio anterior

Em Todas as Páginas de Imagens

a abrir janela para adicionar imagem

Em Todas as Páginas de Edição

t open translation selector
ctrl+ s submit form

Em Páginas de Discussão

n criar uma nova discussão
w toggle watching status
p toggle public/private
c toggle close/open
a abrir actividade
r reply to discussion
l ir para a última resposta
ctrl+ enter submit your message
(seta para a direita) página seguinte
(seta para a esquerda) página anterior

Definições

Deseja classificar ou adicionar este item a uma lista?

Iniciar Sessão

Ainda não é um membro?

Crie uma Conta e Adere a Comunidade