Google Drive API 的使用限制是多少? [英] What is the limit on Google Drive API usage?

查看:23
本文介绍了Google Drive API 的使用限制是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因为这个产品是新的,我很期待在上面开发一个应用程序所以API的使用是否有任何限制,例如:

  • 上传下载配额
  • 每个应用的请求数

解决方案

要查看您允许的配额,请在

配额"选项卡中还有一个请求更多配额的链接,以防您需要超过默认的 1000 万个请求/天,此类请求将通过(简单的)手动审核过程.

此外,文件具有每个文件的播放限制,这取决于许多因素(文件是公开共享还是仅与您的域/用户共享?是视频吗?音频文件?等等...).不幸的是,这些规则目前尚未披露,但例如,每天数百万个匿名会话无法观看公开共享的视频(为此使用 Youtube).也不能在高流量网站上使用图像.Google Drive 不能用作 Web 规模的 CDN,它是为个人内容共享而扩展的(您与朋友/工作组/公司共享文件).

Because this product is new, I am looking forward to develop an app on it so is there any limit on the API usage such as:

  • upload and download quota
  • requests per app
  • etc

解决方案

To view your allowed quota please create a project in the Google APIs Console. In the "Service" tab, the default quota allowed for each service is indicated.

Currently for the Drive API it reads "Courtesy limit: 1,000,000,000 queries/day". It's a per app quota.

After you've enabled the Drive API you can also set a per user rate limit (by default 1000 req per 100 sec) to prevent one user from depleting your app's quota. That's available in the "Quotas" tab.

There is also a link to request more quota in the "Quotas" tab in case you need more than the default 10M req/day such requests will go through a (light) manual review process.

Also files have per-files playback limit which depends on many factors (Is the file shared publicly or just to your domain/users? Is it a video? An audio file? etc...). These rules are not disclosed at this point unfortunately but for instance a publicly shared video can't be viewed by millions of anonymous sessions per day (use Youtube for that). Nor can an image be used on a high traffic website. Google Drive cannot be used as a Web scale CDN, it is scaled for personal content sharing (you share files with friends/work group/company).

这篇关于Google Drive API 的使用限制是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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