Youtube Analytics Api的速率限制?

时间:2014-03-09 02:53:35

标签: php youtube youtube-api google-api

在我完全进入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(或谷歌的)Api,我想知道我是在做什么(Api限制明智)。

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

1 个答案:

答案 0 :(得分:0)

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

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

此外,this post可能有用。