【发布时间】: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