create

fun create(apiKey: String, context: Context): OrsClient

Creates a default OrsClient backed by Retrofit.

Parameters

apiKey

API key obtained from openrouteservice.org

context

Android context used for HTTP client construction