Google阅读器API:流/项/id的延续 [英] Google Reader API: Continuation for stream/items/ids

查看:109
本文介绍了Google阅读器API:流/项/id的延续的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么方法可以像/api/0/stream/contents/那样为/api/0/stream/items/ids获取continuation吗?

Is there any way to get continuation for /api/0/stream/items/ids like /api/0/stream/contents/?

如果否,我如何获得信息流的下一个项目ID?还是有什么方法可以将item-id/timestamp转换为延续?

If no, how can I get next item-ids of a stream? Or is there any way to convert item-id/timestamp to continuation?

推荐答案

/api/0/stream/items/ids端点支持nt参数,您可以使用该参数获取越来越老的商品.您可以获取已有的最旧项的时间戳(以微秒为单位),将其转换为秒,然后将其作为ot参数传递.有关完整列表,请参见本页支持的参数.

The /api/0/stream/items/ids endpoint supports an nt parameter that you can use to get increasingly older items. You can take the timestamp (in microseconds) of the oldest item that you already have, convert it to seconds, and then pass it in as a the ot parameter. See this page for the full list of parameters that are supported.

这篇关于Google阅读器API:流/项/id的延续的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆