OpenCageForwardEndpoint

class OpenCageForwardEndpoint(apiKey: String, parameters: OpenCageParameters = OpenCageParameters()) : HttpApiEndpoint<String, List<Coordinates>>

A ForwardEndpoint that uses the OpenCage Geocoding API.

Constructors

Link copied to clipboard
constructor(apiKey: String, block: OpenCageParametersBuilder.() -> Unit)

Creates a new OpenCageForwardEndpoint with the given API key.

constructor(apiKey: String, parameters: OpenCageParameters = OpenCageParameters())

Functions

Link copied to clipboard
open suspend override fun mapResponse(response: HttpResponse): List<Coordinates>
Link copied to clipboard
open override fun url(param: String): String