GoogleMapsReverseEndpoint

class GoogleMapsReverseEndpoint(apiKey: String, parameters: GoogleMapsParameters = GoogleMapsParameters()) : HttpApiEndpoint<Coordinates, List<Place>>

A ReverseEndpoint that uses the Google Maps Geocoding API.

Constructors

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

Creates a new GoogleMapsReverseEndpoint with the given API key.

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

Functions

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