JavaScript API requests

1

I'm using the JavaScript API in my Cloud. I have several different ports with the application of each client, in the end I have something like this:

customer.rafaelcloud.com.br and client.rafaelcloud.com.br

As described in this link we have news about API policies :

  

For apps created on or after June 22, 2016

     All new domains or Developer Console API projects created on or after June 22, 2016, are subject to the updated policies and limits, as described above and on our Pricing and Plans page.

First I would like to understand if the usage limits is based on the keys that I put in the call in the application of each client or in the IP of my Cloud. I say this because I'm hitting the limit use for free plan, which covers 25 thousand requisitions / day.

Secondly, I would like to know if there is any request log, something I can check to see if the limit is being reached by user account or because of some problem. In my application I use the API to get auto address completion and to also calculate the distance in KM from one point to the other and also to open a map with the marking of point A and point B for departure address and destination address . Each of these items (auto complete, distance calculation, markup on chart) is treated as a different request?

If the requests are computed by key and not by IP, I am thinking of creating an intermediate service that will receive the key from the client application and return the results, so I will have everything more organized and generic. My problem is not to pass on a cost or to absorb, it is to understand how it is computed and to think of a way to organize it.

    
asked by anonymous 23.08.2016 / 21:09

0 answers