geocoder

Version, currently main branch1 version
  • main branchlatestFeb 20, 2025

github.com/jgaskins/geocoder

Geocoding API for various backends

2 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  geocoder:
    github: jgaskins/geocoder
    branch: main

main is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
>= 1.15.0
License
MIT
Author
Jamie Gaskins

Dependencies

This version declares no dependencies.

README

geocoder

Allows geocoding and reverse-geocoding using swappable backends for lookup.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      geocoder:
        github: jgaskins/geocoder
  2. Run shards install

Usage

require "geocoder"

Geocoder.search "1060 W Addison, Chicago, IL"
# => [Geocoder::Result(@latitude=41.94818455, @longitude=-87.65555899980043)]

Contributing

  1. Fork it (https://github.com/jgaskins/geocoder/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