NominatimAPIProvider

@Module
object NominatimAPIProvider

Provides a NominatimAPI object for interacting with the Nominatim API. This API is used to fetch JSON data containing information necessary for building cartographic boundary objects. This module is installed in the SingletonComponent.

This provider relies on the RetrofitHelper module being installed and configured elsewhere in the application to function correctly. The RetrofitHelper is likely responsible for setting up the Retrofit client with the necessary configuration for interacting with the Nominatim API.

Functions

Link copied to clipboard

Uses the RetrofitHelper to create an instance of NominatimAPI.