用有限的资金扩展YouTube API配额 [英] Extending YouTube API Quota with limited funds

查看:209
本文介绍了用有限的资金扩展YouTube API配额的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用简单的java程序,我使用 YouTube数据API 发送GET请求, a href =https://developers.google.com/youtube/v3/docs/videos/list =nofollow noreferrer> videos.list ,以便获取视频的公共元数据和将其存储为.json文件。



对于我的大学研究,我们必须使用Youtube-8M数据库中提供的所有可用YouTube视频ID进行此操作。



因此,我想知道是否有办法扩展请求的可用配额(我已经知道有关结算选项,但我是学生,而我的大学很小) 。

我已阅读YouTube API条款,其中规定只有每个客户端一个项目可用于发送具有必要API的此类请求键。
如果我理解正确,即使我简单的java代码也是这样的客户端。



在其他关于使用API​​密钥扩展每日配额的Stack Overflow问题中,有些人建议创建多个帐户或项目。



这是合法的选择吗?或者是否有另外一种可能性,以获得更高配额,用于研究中的简单请求,就像我现在所做的那样? 解决方案

到启用YouTube API的 Google开发者控制台。第二个选项卡称为配额

< img src =https://i.stack.imgur.com/qYzTo.pngalt =在这里输入图片描述>



点击铅笔旁边的配额是你吹出来的。一个新的窗口会弹出一个名为申请更高配额的链接



填写要申请的表格。据我所知,您不必为额外的YouTube配额支付费用,但获得批准可能需要一些时间。确保你遵守表格上的所有内容。



我从来没有听说过每个客户端项目的一个项目。从技术上讲,你可以使用不同的API键运行你的应用程序,它应该可以正常工作从技术上讲,在Google Developer Console上创建其他项目没有任何问题。您不需要再创建另一个Google帐户。

With a simple java program, I send GET requests using YouTube Data API specifically videos.list, in order to get the public metadata of a video and store it as .json files.

For my universities research, we have to do this with all available YouTube video IDs provided in the Youtube-8M Database.

Therefore, I would like to know if there is a way to extend the available quota for requests (I already know about the billing option, but I am a student and my university is small).

I have read the YouTube API terms, which states that only one project per client may be used to send such requests with the necessary API Key. If I understand it correctly, even my simple java code is such a client.

In some other Stack Overflow questions about extending ones daily quota with API Keys, some suggested creating multiple accounts or projects.

Is this a legal option or not? Or is there another possibility to get a higher quota for simple requests used in research like I do right now?

解决方案

If you go to the Google Developer console where you enabled the YouTube API. the second tab is called quota

Click the pencil next to which ever quota it is that you are blowing out. A new window will pop up with a link called apply for higher quota.

Fill out the form to apply. To my knowledge you do not have to pay for additional YouTube quota but it can take time to get approved. Make sure you comply with everything on the form.

I have never heard of the one project per client term. Technically you can run your application using different API Keys it should work fine. Technically there is nothing wrong with creating additional projects on Google Developer console. You don't need to go as far as creating another Google account.

这篇关于用有限的资金扩展YouTube API配额的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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