geoinfo
Geocoding and reverse-geocoding from the geo-info.co API in Crystal.
Installation
-
Add the dependency to your
shard.yml:dependencies: geoinfo: github: dscottboggs/geoinfo -
Run
shards install
Usage
require "geoinfo"
GeoInfo::City.new(city: "New York", state: "New York", country: "US")
See src/city.cr for members available, and spec/city_spec.cr for more
detailed usage examples.
Contributing
- Fork it (https://github.com/dscottboggs/geoinfo/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Scott Boggs - creator and maintainer