How do I increase quotas for Places SDK for Androi

2020-05-06 12:48发布

问题:

I am using Google place SDK for android. I want to request more quota limits.

Users with an API key are allowed 1 000 requests per 24 hour period. Users who have also verified their identity through the APIs console are allowed 100 000 requests per 24 hour period. A credit card is required for verification, by enabling billing in the console

so I have followed the instructions :

  1. Google Developers Console

  2. Select Project, Expand API & Services , Click the Place SDK for Android, Go To Quota tab

  3. In Requests--> Edit , I have clicked the 'Apply for higher quota' which redirect me to Places SDK for Android Usage and Billing

I read this document but I don't understand where should I place request for more quota.

回答1:

You're using the deprecated Places SDK for Android, which is why your quota is capped. The endpoint for the new SDK is Places API which has unlimited daily quota set by default.

To migrate to the new Places SDK for Android, follow Google's migration guide. Note that version 2.0.0 requires that you migrate to AndroidX as well.

Hope this helps!