允许使用多个YouTube API键进行1个项目?

发布于 2025-01-25 17:51:12 字数 395 浏览 1 评论 0 原文

在使用YouTube数据API V3仅使用1个API键进行搜索时,我很快达到了配额限制。

我申请了配额增加,但我听说这可能需要一些时间。

但是,我登陆了以下文章,该文章指出,最多300个API可用于1个项目。我真的允许使用多个YouTube数据API V3键,并且每次达到配额限制时之间的切换?

https://cloud.google.com/docs/authentication/authentication/api-keys

我一直在争夺解决方案。我希望我读得很好!

I am quickly reaching quota limits while using YouTube Data API v3 for searches only using 1 API key.

I have applied for Quota increase but I hear it can take some time.

However I landed on the below article which states that a max of 300 APIs can be used for 1 project. Are my really allowed to use multiple YouTube Data API v3 keys and switch between them each time quota limit is reached??

https://cloud.google.com/docs/authentication/api-keys

I had been scrambling for solutions. I hope I read it well!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

¢蛋碎的人ぎ生 2025-02-01 17:51:12

项目中的键和凭据共享其配额。在Google开发人员控制台上的同一项目中创建其他API键不会为您提供其他配额。

如下所示,她的所有证书将共享相同的配额。

您需要创建其他项目并在每个项目中创建一个密钥。

所有这些项目都具有自己的配额。

您应该等待延长,如今,不应该花费几周的时间才能回到配额增加。

Keys and credentials within a project share their quota. Creating additional api keys within the same project on google developer console is not going to get you additional quota.

As seen below all the credentials her will share the same quota.

enter image description here

You would need to create additional projects and create a key within each project.

All of these projects have their own credentials with their own quotas.

enter image description here

You should wait for an extension These days it shouldn't take more then a couple of weeks to hear back about a quota increase.

伤感在游骋 2025-02-01 17:51:12

答案是肯定的,否(但在您的情况下可能比Yes 更)。

是的,您可以使用多个YouTube数据API V3键,然后在之间切换,但不能在它们之间切换,因为您达到了配额限制。

通过这样做,您违反了YouTube的开发人员政策合规性,并使自己受到制裁。您应该在它们之间切换的唯一原因是将环境分开。

来自YouTube的开发人员政策:

不要为同一API服务或用例创建多个Google Cloud项目,以试图欺骗性地获取高于分配项目的API配额。
可以为您的API服务的每个不同用例提供一个单独的API项目。示例包括:
您的iOS应用程序的一个API项目,这是您的Android应用程序单独的API项目。
生产服务器的一个API项目,一个用于开发服务器。
面向用户的API服务的一个API项目,一个用于内部系统分析的API项目

来源:https://developers.google.com/youtube/terms/developer-policies-guide#don%E2%80%99t_spread_api_access_across_multiple_or_unknown_projects

The answer is yes and no (but probably more no than yes in your case).

YES, you are allowed to use multiple Youtube Data API v3 keys and switch between but NO, you can't switch between them because you reached the quota limitation.

By doing so, you violate Youtube's Developer Policies compliance and expose yourself to sanctions. The only reason you should switch between them is to separate your environments.

From the Youtube's Developer Policies :

Don’t create multiple Google Cloud projects for the same API service or use case in an attempt to deceptively acquire an API quota that is higher than the one your project was assigned.
It is acceptable to have a separate API Project for each different use case of your API service. Examples include:
One API project for your iOS app, a separate API Project for your Android app.
One API project for a production server, one for a development server.
One API project for your user-facing API service, one API project for internal system analytics

source : https://developers.google.com/youtube/terms/developer-policies-guide#don%E2%80%99t_spread_api_access_across_multiple_or_unknown_projects

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文