geocode library

Package to make Geocode requests. It exposes two methods to translate coordinates into locations and addresses into coordinates.

It's a basic implementation of the most useful methods in the Dart language of the following API geocode.xyz.

It's free for one request per second quota. Register in the above site to get an API Key and increase the number of requests to 10 per second. These are paid plans that allow more requests per second. For more information, review the site.

Exceptions / Errors

AccountOutOfCreditsException
Exception thrown when auth has ran out of credits
AuthTokenNotFoundException
Exception thrown when authentication token: auth not found.
EmptyResultException
Exception thrown when your request did not produce any results. Check your spelling and try again.
GeocodeException
Exception class parent of all geocode exceptions.
InvalidQueryException
Exception thrown when supplied an invalid query.
PostalCodeFormatException
Exception thrown when an invalid postal code is sent.
RequestThrottledException
Exception thrown when requests got throttled.
UnknownErrorException
Exception thrown when an unknown error happens.