Google Map - Usecase, Process & Billing - Key Generation
Google Map - Usecase, Process & Billing - Key Generation
Use case:
The following APIs are used in the Cabs, Flights, Hotels, and Bus categories. The APIs
are used in the following cases:
a. When the user views, accesses and adjusts their location on the map on the
landing page. (Cabs category)
b. On the landing page, an API shows the different cabs available in the vicinity and
updates it every 20 seconds. (Cabs category)
c. When a user enters characters to search places, the API helps to autocomplete
the listing in source/destination. (Applicable to all the above-mentioned
categories)
d. When the user selects a particular place from the listing. (Applicable to all the
above-mentioned categories)
(Note: Without the google API key, the cabs category will not function).
Process of generating API Key:
Once the above steps are completed, a key is generated and can be used in the
application
Note: It is recommended to create a separate key for android and IOS and restrict the
key, watch the video attached in step 3 to know more on restrict the key
Billing of Google API
b. Everytime user enters more than 2 character in places search and the listing
appears→ AutoCompleteRequest (Autocomplete api)
Assumptions:
Google provides Free quota: $200 / month which means approximately ~ 425 rides
free / month