geoinfo
Version, currently master branch1 version
- master branchlatestAug 10, 2019
github.com/dscottboggs/GeoInfo
Simple wrapper around the geo-info.co API
5 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
geoinfo:
github: dscottboggs/GeoInfo
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.30.0- License
- MIT
- Author
- Scott Boggs
Dependencies
This version declares no dependencies.
README
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
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Aug 10, 2019
- Crystal
0.30.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/dscottboggs/GeoInfo
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 1