youtube - 社交刀片如何生成实时订阅者计数
问题描述
Socialblade 如何使用 youtube api生成实时订阅者数量?
它为每个频道每秒更新一次。那不是很容易超过速率限制吗?
从他们的应用商店描述中,他们声明他们正在从 youtube api 中提取:
View your favorite YouTubers live sub counter
and get real-time updates every second direct from YouTube's API.
No more having to wait hours for the number on your channel to update!
解决方案
它不超过他们的速率限制。
它的配额成本为 1 点。您可以使用 30,000 个配额单位/秒/用户和每天 1,000,000 个。如果您的申请是在 2016 年 4 月 20 日之前提出的,则为 50M。
推荐阅读
- python - 使用 tf.where() 通过 2d 条件选择 3d 张量并用键和值替换 2d 索引中的元素
- php - 在laravel中计算日期的小时和分钟
- r - 使用 dplyr 并创建具有标准偏差的箱线图的变量在另一个变量中的百分比
- go - Golang var 和字面量用法
- ruby-on-rails - 在 Ruby on Rails 中为 PDF 缩略图预览设置默认图像
- yum - Gatling 2.2.5 版安装
- apache-kafka - 用于代理的 Kafka 的每个主题消息计数的 Jolokia 配置
- sql-server - sql server join 并选择top 1
- android - Admob 显示实时广告,但发布后不显示
- html - Angular5中的翻译属性参数