【问题标题】:Rate Limiting for the Youtube Analytics Api?Youtube Analytics API 的速率限制?
【发布时间】:2014-03-09 02:53:35
【问题描述】:

在我完全深入了解 youtube api 之前,我想知道我的 Youtube 应用程序应该采用哪种方式。我想获得很多用户的分析信息:观看次数、收入、喜欢、每个国家/地区的观看次数。等等

我的问题是由于速率限制,如果我的应用程序为很多人提供服务,我该如何进行这些调用?

1) Should i get all the info each day (Day after user joined) for each user and save that into a database (with an expiration date).

2) Or should i only grab the information needed at that time and store it into the database with an expiration date for each piece of data?

由于我从未处理过任何 youtube(或 Google 的)Api,所以我想知道我在做什么(Api Limit wise)。

获取每个用户数据的最佳方法是什么?谢谢。

【问题讨论】:

    标签: php youtube youtube-api google-api


    【解决方案1】:

    查看this page 上的“了解配额使用情况”部分。一般建议是只获取您需要的内容,但根据您拥有的用户数量,请求更多信息并减少请求可能是有意义的。

    我认为没有明确的答案,这取决于您拥有多少用户以及您需要哪些数据。

    另外,this post 可能有用。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-06-13
      • 2020-11-04
      • 1970-01-01
      • 2014-08-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多