YQL,仅返回 100 个值。我可以得到更多吗?

发布于 2024-12-10 19:29:04 字数 59 浏览 0 评论 0原文

我使用 YQL 和 JSON 来检索 Twitter 搜索。它仅返回 100 个值。还有机会获得更多吗?

I'm using YQL with JSON in order to retrieve a Twitter search. It only returns 100 values. Any chance to get more than that?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

晨与橙与城 2024-12-17 19:29:04

看起来不太好,朋友:“对该表进行YQL查询最多可以返回100条结果,这是由属性max定义的。”

来自: http://developer.yahoo.com/yql/guide/yql-tutorials .html

Doesn't look good, friend: "The maximum number of results that can be returned by a YQL query on this table is 100, which is defined by the attribute max."

From: http://developer.yahoo.com/yql/guide/yql-tutorials.html

浅暮の光 2024-12-17 19:29:04

使用 YQL 的 SELECT 语句返回的最大项目数为 5,000。如果默认情况下查询中的表没有提供足够的结果(假设有更多可用结果),您可以使用远程限制来请求更多结果。

select * from twitter.search(250) where q="lol"

有关更多详细信息,请参阅 YQL 指南中的分页和表限制


请注意,许多数据提供商都会对其服务的查询进行速率限制,Twitter 确实如此。

The maximum number of items returned by a SELECT statement with YQL is 5,000. If the table in query does not give enough results by default (assuming there are more available), you can ask for more results by using a remote limit.

select * from twitter.search(250) where q="lol"

For more details, see Paging and Table Limits in the YQL Guide.


Be aware that many data providers will rate limit queries against their services, Twitter certainly does.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文