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 回复(第 1 页,共 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!

找不到电影或节目?登录并创建它吧。

全站通用

s 聚焦到搜索栏
p 打开个人资料菜单
esc 关闭打开的窗口
? 打开键盘快捷键窗口

在媒体页面

b 返回(或返回上级)
e 进入编辑页面

在电视季页面

(右箭头)下一季
(左箭头)前一季

在电视集页面

(右箭头)下一集
(左箭头)上一集

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

t 打开翻译选择器
ctrl+ s 提交

在讨论页面

n 创建新讨论
w 切换关注状态
p 设为公开 / 私密讨论
c 关闭 / 开放讨论
a 打开活动页
r 回复讨论
l 跳转至最新回复
ctrl+ enter 发送信息
(右箭头)下一页
(左箭头)前一页

设置

想给这个条目评分或将其添加到片单中?

登录

还不是会员?

注册加入社区