GeoInfo

Simple wrapper around the geo-info.co API

geoinfo

Geocoding and reverse-geocoding from the geo-info.co API in Crystal.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      geoinfo:
        github: dscottboggs/geoinfo
    
  2. 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

  1. Fork it (https://github.com/dscottboggs/geoinfo/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

GeoInfo

Owner
Statistic
  • 5
  • 0
  • 0
  • 0
  • 0
  • over 4 years ago
  • August 10, 2019
License

MIT License

Links
Synced at

Thu, 18 Apr 2024 08:06:33 GMT

Languages