Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Latest commit

 

History

History
54 lines (34 loc) · 1.24 KB

BalanceAPI.md

File metadata and controls

54 lines (34 loc) · 1.24 KB

BalanceAPI

All URIs are relative to https://eu1.locationiq.com/v1

Method HTTP request Description
balance GET /balance.php

balance

    open class func balance(completion: @escaping (_ data: Balance?, _ error: Error?) -> Void)

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).

Example

// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import LocationIQ


BalanceAPI.balance() { (response, error) in
    guard error == nil else {
        print(error)
        return
    }

    if (response) {
        dump(response)
    }
}

Parameters

This endpoint does not need any parameter.

Return type

Balance

Authorization

key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]