use LocationIq::Object::BalanceApi;
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).
use Data::Dumper;
use LocationIq::BalanceApi;
my $api_instance = LocationIq::BalanceApi->new(
# Configure API key authorization: key
api_key => {'key' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'key' => 'Bearer'},
);
eval {
my $result = $api_instance->balance();
print Dumper($result);
};
if ($@) {
warn "Exception when calling BalanceApi->balance: $@\n";
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]