在 Buzz API 中使用分页时出现问题?
我正在使用 Buzz REST API 检索从 1-08-2011 到 28-082011 的所有嗡嗡声公共更新,我的查询术语是“lokpal”。我需要获取人们对这个主题或带有标签“Anna Hazere”的任何其他活动所做的所有更新。我准备的 URL 是:
REST GET URL
https://www.googleapis.com/buzz/v1/activities/search?key=AIzaSyD7O9D4uEFyEexRPtxaU1fCsh0yu5leum4&q=lokpal+date%3E2011-07-31+date%3C2011-08-28&alt=json&max-results=100&safe=medium
where %3E refers to '>' and %3C refers to '<' .
有人可以建议我如何对此应用分页属性并检索公共流中发生的所有更新。我已经能够获取 JSON 格式的活动,但想要所有公共更新。
参考:http://code.google.com/apis/buzz/v1/using_rest.html
I am using Buzz REST API to retrieve all the buzz public updates from 1-08-2011 to 28-082011 and my query term is 'lokpal'. I need to get all the updates that people did about this topic or any other activity with tag 'Anna Hazere'. I have prepared the URL that is:
REST GET URL
https://www.googleapis.com/buzz/v1/activities/search?key=AIzaSyD7O9D4uEFyEexRPtxaU1fCsh0yu5leum4&q=lokpal+date%3E2011-07-31+date%3C2011-08-28&alt=json&max-results=100&safe=medium
where %3E refers to '>' and %3C refers to '<' .
Can someone suggest me how to apply paging property to this and also retrieve all the updates that happened ion public stream. I am already able to get the activities in JSON format but want all the public updates.
Refer:http://code.google.com/apis/buzz/v1/using_rest.html
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
响应正文中有一个
links
结构。其中一个链接是next
链接,它是第 2 页的 URL。在您的情况下,这将是:Within the body of the response is a
links
structure. One of the links is thenext
link, which is the URL for page 2. In your case, that would be: