Using Google Sheets API v4 above the quota - google-sheets

I'm trying to find the pricing for Google Sheets API. The limit is 300 requests/min per project and there's also a per-user limit.
I read you can request a quota increase but I'm willing to pay with some pricing model so there's no cap on the number of requests. Is there any information on that?
You can take an example of sheetdb.io, an app like that will need to send thousands of requests in a minute as it will be used by many users at the same time.
PS: I'm not looking for BigQuery, optimization, DBMS solution. The app is built around Google Sheets.

As per the documentation:
This version of the Google Sheets API has a limit of 500 requests per 100 seconds per project, and 100 requests per 100 seconds per user. Limits for reads and writes are tracked separately. There is no daily usage limit.
To view or change usage limits for your project, or to request an increase to your quota, do the following:
If you don't already have a billing account for your project, then create one.
Visit the Enabled APIs page of the API library in the API Console, and select an API from the list.
To view and change quota-related settings, select Quotas. To view usage statistics, select Usage.

Related

YouTube Data API: The request cannot be completed because you have exceeded your quota. Сan I make an app using the YouTube Data API or not?

I got this error:
The request cannot be completed because you have exceeded your quota.
and I can not understand YouTube limits the number of requests? That is, I cannot create my project by taking API from my channel? If this is so, what is the point of YouTube Data API, if at the development stage I was already limited, what will happen when users come in, then my project will fall within 5 minutes?
and I cannot understand how I was able to make 10,000 requests per day, given that I worked on the localhost for about 3 hours, is this possible?
Indeed the Google's Developers Console shows text like Queries per day, but that's very much misleading (and may well be reported as an Web UI bug to Google).
You have to acknowledge that YouTube Data API's quota system is not accounting for the number of endpoints calls you made during a day long, but it accounts for the cumulated number of quota units corresponding to each of your endpoint calls.
For example, if you have 10000 units of quota allocated for daily usage, you may very easily exceed this upper bound after only 100 calls to the Search.list API endpoint.
Many API users find the default amount of quota allocated -- 10000 units -- to be quite constraining -- that even during the development stage of their apps. For tackling this issue, I recommend two things:
Develop your app such that to cache API responses it received from the endpoints it calls; this way, during the development stage of your app (afterwards, even during production, but albeit functioning with a different logic), repeated calls to endpoints would not result in actual API requests, but would get served from the app's local cache.
Apply for a quota extension, using Google's official form; be aware that, as per the experience of users of this forum, Google's answer, usually, does not arrive shortly.

youtube api V3 quota cost? - making an app that allows user to upload to their account

If you set up a OAuth for Youtube within your app that allows users to upload videos, does each video cost towards your 10,000pt quota?
I run a personal uploading bot and it does 3ish uploads per day within the 10,000 point quota but if I was to scale out as an app this wouldn't work since 5 users would max it out.
So if a user approves your app for upload permissions, would this cost toward your clients 10,000pts or is it 10,000 points per user per day?
Also how easy is YouTube's quota expansion form process if it is the former?
https://support.google.com/youtube/contact/yt_api_form?hl=en
By checking the quota calculator you will be able to see what each call costs. The vido.insert call for example costs 1600 quota.
If you check the google developer console and check your quota it might look something like this.
As you can see one of them states "per user" while the other does not.
Queries per day 10,000 is a project based quota. while Queries per minute per user is a user based quota.
It sounds like you should be applying for a quota extension if the 10,000 limit is not enough for your needs.
Also how easy is YouTube's quota expansion form process if it is the former?
Its a long process google says it takes twenty days my experience is three to six months average. You need to be prepared to get a NO. You also need to be prepared to have your quota shut down suddenly because they detect something they identity as spam or a violation. In the event of a shutdown you will need to apply for a new extension. Which again will take time.

Google Spreadsheet Api. Limit per user per 100 sec not reached but getting ratelimited

Im trying to work with the google spreadsheet api (V4) which states to have the following limitation.
This version of the Google Sheets API has a limit of 500 requests per 100 seconds per project, and 100 requests per 100 seconds per user. Limits for reads and writes are tracked separately. There is no daily usage limit.
Somehow my code gets ratelimited after 21-34 requestes.
I am able to see the send requests to the api in the google api dashboard which shows the same numbers on a 1 to 1 match. Thus, i am sending less than 100 requests and i am still getting rate limited.
The Endpoint which is failing is the v4/spreadsheets/{id} ep. Maybe this has an influence on it as i read that there f.e. was a not documented rate limitation for the creation of calenders via the calender api.
What could be the reason for that?

Requirements for Increasing quota as private person

a few programmers and I want to create a new Plugin for the YouTube-Addon in Kodi (XBMC). For this Project we need a hughe increase of the Quota because we have at least 4 Million Users (Download-counter)
The Link above is the current plugin which we would to replace. In this plugin we allways have the problem with the quota (plugin is blocked for at least 4 hours)
Which requirements are essential for the plugin to get an increase of the quota?
You'll be answering an apply for addtional quota form for Youtube Data API v3.
Here's the full statement from the docs:
If you reach the quota limit, you can request additional quota on the
Quotas tab in the Developer's Console.
Note that projects that had enabled the YouTube Data API before April
20, 2016, have a different default quota for that API
.

Twitter's Rate Limit, bypass?

I was about to code a mobile web twitter client with a lot of functions in mind, but I was going through their API, noticed they limit requests to 350 per hour, and they've also disabled white-listing of IP addresses. This doesn't seem feasible for a large scale app, is there anyway to bypass. Or just dump the entire project. Programming lang is chiefly PHP.
Thats 350 requests per hour per user, not global per application.
By that what I mean is, if your application is used by 100 users, each one of those users has their own limit for their account.
So your app can refresh around once every 10 seconds or so, that seems plenty to my mind.

Resources