All URIs are relative to https://eu1.locationiq.com/v1
Method | HTTP request | Description |
---|---|---|
balance | GET /balance.php |
Balance balance()
The Balance API provides a count of request credits left in the user's account for the day. Balance is reset at midnight UTC everyday (00:00 UTC).
// Import classes:
//import locationiq.infrastructure.*
//import locationiq.models.*
val apiInstance = BalanceApi()
try {
val result : Balance = apiInstance.balance()
println(result)
} catch (e: ClientException) {
println("4xx response calling BalanceApi#balance")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling BalanceApi#balance")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure key: ApiClient.apiKey["key"] = "" ApiClient.apiKeyPrefix["key"] = ""
- Content-Type: Not defined
- Accept: application/json