YouTube API每次都会返回1,000,000个结果,这是估计的结果,而不是确切的结果。如何为此实施分页?

发布于 2025-02-12 01:30:54 字数 110 浏览 0 评论 0原文

我想为YouTube API结果添加分页。 返回的结果始终是1,000,000个结果。

我已经阅读了返回的结果,似乎是估计的数字,而不是确切的计数。

在这种情况下,如何实施分页。

I would like to add pagination to the youtube API results.
The results returned are 1,000,000 results always.

I have read about this number of results returned, It seems its an estimated number and not the exact count.

In this scenario how to implement pagination.

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

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

发布评论

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

评论(1

娜些时光,永不杰束 2025-02-19 01:30:54

pageinfo.totalresults

整数

结果集中的结果总数。请注意,该值是一个近似值,可能不代表确切的值。此外,最大值为1,000,000。

search> search> search:list

资料来源: https://developers.google.com/youtube/v3/guides/implementation/pagination“ rel =“ nofollow noreferrer”>实施:分页将帮助您了解上页与YouTube数据API v3的作用。 1,000,000的值不是限制,但是可能还有其他限制<< /a>。因此,让我们知道您是否仍然被困。

pageInfo.totalResults

integer

The total number of results in the result set.Please note that the value is an approximation and may not represent an exact value. In addition, the maximum value is 1,000,000.

Source: Search: list

Implementation: Pagination will help you to understand how pagination works with YouTube Data API v3. The 1,000,000 value isn't a limit, however there may be other limitations. So let us know if you are still stuck.

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