Skip to content

A client for accessing the Nominatim API. Please note that Client for Nominatim API is unofficial and not endorsed by OpenStreetMap.

License

Notifications You must be signed in to change notification settings

tnc1997/dart-nominatim-api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Client for Nominatim API

A client for accessing the Nominatim API.

Please note that Client for Nominatim API is unofficial and not endorsed by OpenStreetMap.

Getting Started

  1. Add this package to your application.

    dart pub add nominatim_api_client
  2. Create a variable to store your user agent.

    final userAgent = 'MyApp/1.0.0';
  3. Obtain an HTTP client using your user agent.

    final client = clientViaUserAgent(userAgent);
  4. Create an API client using the HTTP client.

    final api = NominatimApiClient(client: client);
  5. Fetch data from the Nominatim API using the API client.

    final results = await api.search(query: 'google');

About

A client for accessing the Nominatim API. Please note that Client for Nominatim API is unofficial and not endorsed by OpenStreetMap.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages