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

location-iq/locationiq-kotlin-client

Repository files navigation

locationiq - Kotlin client library for LocationIQ

Requires

  • Kotlin 1.3.41
  • Gradle 4.9

Build

First, create the gradle wrapper script:

gradle wrapper

Then, run:

./gradlew check assemble

This runs all tests and packages the library.

Features/Implementation Notes

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

Documentation for API Endpoints

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

Documentation for Models

Documentation for Authorization

key

  • Type: API key
  • API key parameter name: key
  • Location: URL query string

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages