YouTube API 配额 - 多个帐户 [英] YouTube API Quota - Multiple accounts

查看:39
本文介绍了YouTube API 配额 - 多个帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

YouTube 数据 API 的第 3 版在您注册 API 密钥的 Google API 控制台中列出了具体的配额编号.您可以使用 30,000 个单位/秒/用户和每天 1,000,000 个单位.2016 年 4 月 20 日之前启用 YouTube Data API 的项目的默认配额为 5000 万/天.

Version 3 of the YouTube Data API has concrete quota numbers listed in the Google API Console where you register for your API Key. You can use 30,000 units/second/user and 1,000,000 per day. Projects that had enabled the YouTube Data API before April 20, 2016, have a default quota of 50M/day.

这意味着一旦我们违反了这些数字,我们将在标头中收到已超出速率限制的信息.

This means that once we breach this numbers, we'll receive in the header that the rate limits have been exceeded.

我的问题是,您能否创建多个帐户,理论上可以双倍配额?

My question is, can you create multiple accounts, which will in theory DOUBLE the quota?

或者它是否也被限制为 IP 也意味着/user1/&/user2/请求实际上不会改变配额?

Or is it also IP restricted too meaning /user1/ & /user2/ requests won't actually change the quota?

推荐答案

据我所知,配额是按项目计算的,而不是按帐户计算的.您可以创建 3 个项目,每个项目都有默认配额.然后在您的应用程序中,您可以尝试将所有 3 个组合使用,以便以更高的吞吐量发布到 API.

It is my understanding that the quota is PER PROJECT, not per account. You could create 3 projects and each project would have the default quota. Then in your application you could attempt to use all 3 combined in order to post to the API with a higher throughput.

这篇关于YouTube API 配额 - 多个帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆