getLocation

suspend fun getLocation(locationId: String): Deferred<Location>

Retrieves information about a specific location based on the provided locationId.

Return

A Deferred object representing the specified location.

Parameters

locationId

The ID of the location to retrieve.

Throws

If the API is in maintenance.

If the requested location is not found.

If the API returns an unexpected gateway exception.