- Kotlin 1.3.41
- Gradle 4.9
First, create the gradle wrapper script:
gradle wrapper
Then, run:
./gradlew check assemble
This runs all tests and packages the library.
- Supports JSON inputs/outputs, File inputs, and Form inputs.
- Supports collection formats for query parameters: csv, tsv, ssv, pipes.
- Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in OpenAPI definitions.
- Implementation of ApiClient is intended to reduce method counts, specifically to benefit Android targets.
All URIs are relative to https://eu1.locationiq.com/v1
Class | Method | HTTP request | Description |
---|---|---|---|
AutocompleteApi | autocomplete | GET /autocomplete.php | |
BalanceApi | balance | GET /balance.php | |
DirectionsApi | directions | GET /directions/driving/{coordinates} | Directions Service |
MatchingApi | matching | GET /matching/driving/{coordinates} | Matching Service |
MatrixApi | matrix | GET /matrix/driving/{coordinates} | Matrix Service |
NearestApi | nearest | GET /nearest/driving/{coordinates} | Nearest Service |
ReverseApi | reverse | GET /reverse.php | Reverse Geocoding |
SearchApi | search | GET /search.php | Forward Geocoding |
- locationiq.models.Address
- locationiq.models.Balance
- locationiq.models.Daybalance
- locationiq.models.DirectionsDirectionsRoutes
- locationiq.models.DirectionsMatrixSources
- locationiq.models.DirectionsMinusDirections
- locationiq.models.DirectionsMinusMatching
- locationiq.models.DirectionsMinusMatrix
- locationiq.models.DirectionsMinusNearest
- locationiq.models.DirectionsNearestWaypoints
- locationiq.models.Error
- locationiq.models.Location
- locationiq.models.Matchquality
- locationiq.models.Namedetails
- Type: API key
- API key parameter name: key
- Location: URL query string