Google play games quota - pricing and per app basis? - google-play-games

The google play api quota is 200K requests as per this page. Assuming that his number is per app (and not per user of app), then is this not too less for any viable app?
I am implementing an app that has realtime multiplayer mode, for which I plan to use use google play games. Assuming that two players share there progress 10 times in a game, that would mean 20 API calls per game (I have ignored the api calls to set room, invite etc etc). Thus less 10K games can be played in a day. If every player plays 10 games a day, that comes to a support of only 1000 active users.
Is there something wrong in my understanding of the quota, or is google play services really so prohibited? Is there any other solution that would reduce my api calls.
Also whats the cost for more api calls? And is there any alternative solution for multiplayer games?
THanks

You are referencing to the wrong API. The link you have provided is for the Google Play Developer API which is for subscription, in-app purchase and publishing. The API for sharing progress and other in-game API calls is the Google Play Games Services which has a default quota of 50000000 requests/day and in which the user can have 500 requests per second(The quotas can be seen in the Developer's Console). You could also see Managing Quota and Rate Limiting for other info about the quota and limits.

Related

Youtube Data API v3 quota usage application level

I want to create an app for uploading videos to youtube. So I used youtube data API. And I will serve a service for my users to uploading video youtube.
And Official documents says that:
https://developers.google.com/youtube/v3/getting-started?hl=tr#calculating-quota-usage
Google calculates your quota usage by assigning a cost to each
request. Different types of operations have different quota costs. For
example:
A read operation that retrieves a list of resources -- channels,
videos, playlists -- usually costs 1 unit. A write operation that
creates, updates, or deletes a resource usually has costs 50 units. A
search request costs 100 units. A video upload costs 1600 units. The
Quota costs for API requests table shows the quota cost of each API
method. With these rules in mind, you can estimate the number of
requests that your application could send per day without exceeding
your quota.
Is this quotas for a application level or user level. If it is for application level, In this way I have 6 video upload credit from youtube?
What is the clear explanation for this case? Is there any difference about app level quota between user level quota?
The quota is accounted per Google project. That is that each Google project has allocated an amount of daily quota (by default 10000 units) and each API call (being it through an API key or through an access token obtained upon completing successfully an OAuth 2.0 authentication/authorization flow) is deducted out of that quota amount.
Thus, by means of a given Google project, one given application -- if granted permission by several users to access their YouTube channel upon the successful completions of OAuth 2.0 authentication/authorization flows -- could well upload videos to multiple channels.
But, as you noted, in case of one having allocated an amount of 10000 units of quota to his/her Google project, the number of videos that may be uploaded on any given day cannot exceed six (if not counting the other API calls the application may issue).
Of course there's the possibility to apply for quota extensions (by filling in this form); but be aware of the fact that, according to the experience of the users of this forum, the answer from Google does not arrive shortly.
These are application level quotas. When your application runs and you authorize a user the user uploads a video to their account.
If we look at the quota for my system
My application itself has a quota limit of 10000. but each user can max use 180,000 quota. Which is useless as my application itself can only do 10000.
My application itself can use 1,800,000 per minute but again its useless as the total for the application is 10,000.
Intro to YouTube API and cost based quota for beginners 2021.

Google API Quota Limits for Youtube API

Hi I'm new to Youtube API. I have problem in Quotas in Youtube API.
Youtube API allows to use only 10,000 quota points per day. My project is fully based on uploading videos to a Youtube Channel. For a single video upload(insert) through API it cost upto 1600 points, with this i can upload only 6 videos per day. I have applied for Quota increase. I don't know when my quota will be increased. But my Quotas Dashboard confusing me, it shows
it allows 1,800,000 queries per minute and it will allow only 10,000 queries per Day. If Youtube API can allow 1,800,000 queries/minute then Queries per day must be in Millions! In which basis I'm getting this Quotas Dashboard.
That quota is normal. A possible explanation for the quotas they are giving us could be that their biggest worry are not so much users firing 1000 requests very quickly in a short time frame but users firing 100 000 querys throughout the whole day. I've witnessed a similar issue with a thirparty provider that screenscraped a website. These people were so stupid they didnt cache anything and created much load on the site. Since they didn't react on complaints the only choice was to block them completly. Youtube uses a finer grained approach.

Webhook for Google Tasks

I have integrated Google Tasks APIs into my web application. The requirement is to sync the task between web application and Google.
So far, the Task in my web application is created and synced with the Google Tasks using the Google Tasks API. I want to add logic for syncing the tasks from Google Task to my web application. I have to call the Google Tasks APIs for each task periodically (let say, every 5 minutes) to check the task details and compare across the tasks in the web application and sync it. Calling Google Tasks API periodically consumes too many API calls and the per day quota is 50,000 calls as per google document. This exceeds or will exceed easily.
Quota Limit mentioned here
Requesting to increase quota is an option. But that can be done only if we know the exact or approx API call we require for the day. As it is difficult to estimate the count, I do not prefer to request for more quota.
I want an alternate solution like using a webhook that notifies me if any modification is made on Google Tasks. With that help I can retrieve only modified Google Task and sync back to my web application. This will subsequently consume fewer API calls.
I did some research for the webhook and I found this. But I am looking for the webhook provided by Google itself, similar to what they provide for google sheet.
Please help if anyone have integrated webhook for Google Tasks.

Can Google Calendar API be used to create scalable scheduling service?

I need to create a scheduler for my own SaaS, and I'm trying to understand whether Google Calendar API is a fit for that. Basically I could have hundreds of thousands of calendars. Each calendar may be a user of my service, but not a Google user. It seems that perhaps I could use resource calendars under my Google Cloud service account. My biggest concern is whether my usage will fall within the Calendar API's service quotas, either automatically or by requesting a quota increase?
Yes service accounts will fall within quota usage limits. There is also a limit about creating more then 25 calendars in a day causing the user to end up in read mode for the rest of the day.
pricing
Google Calendar API Usage Limits
The Google Calendar API has a courtesy limit of 1,000,000 queries per day.
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.
On the one hand, you could work around the quota issues by sharding your users across multiple Service Accounts. You would probably also want to shard them across multiple App IDs.
On the other hand, don't do it. In my experience, using Google APIs outside their intended use case doesn't end well.

Limit number of download on Google store [duplicate]

I am getting to launch a new app which is network based. Right now I do not have it scaled very large (I only have one server running). Is there anyway through Google Play that I can restrict the downloads to a couple of hundred people until I can purchase the scalability I need for my app? I want to have a maximum of a couple hundred people download the app a month so that I can scale accordingly. Is there anyway to do this besides removing it from the store every time I get too many downloads?
You could utilize Google Play Alpha/Beta testing which allows you to invite people to either a Google Group or Google+ Community and only those people can download your application from Google Play. That way you could cut off membership once you've hit a certain number of people (note that if you are using a Google+ Community, you want to make sure you make it Public - Moderator approval to join or Private) and then restart once you've scaled up.
However, if you are doing a traditional production publish of your app then there is no way to limit the number of people downloading your application.

Resources