Popularity
4.9
Growing
Activity
0.0
Stable
18
4
2
Programming language: Crystal
License: MIT License
Tags:
Third-party APIs
Latest version: v0.2.1
google_maps_api alternatives and similar shards
Based on the "Third-party APIs" category.
Alternatively, view google_maps_api alternatives based on common mentions on social networks and blogs.
-
GDAX
๐ GDAX REST and WebSocket API wrapper to trade blockchain cryptocurrencies like bitcoin, Litecoin and Ethereum.
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Promo
workos.com
Do you think we are missing an alternative of google_maps_api or a related project?
README
GoogleMapsApi
WORK IN PROGRESS
Crystal library for the Google Maps API.
Installation
Add this to your application's shard.yml
:
dependencies:
google_maps_api:
github: fridgerator/google_maps_api
Usage
require "google_maps_api"
Geocoding
GoogleMapsApi::Geocoding.address_search("1111 North 20th")
GoogleMapsApi::Geocoding.latlng_search(40.714224, -73.961452)
GoogleMapsApi::Geocoding.place_search("ChIJd8BlQ2BZwokRAFUEcm_qrcA")
Places
places API requires an API key (set using ENV["GOOGLE_API_KEY"])
GoogleMapsApi::Place.nearby(40.714224, -73.961452, {:radius => 1000})
place = GoogleMapsApi::Place.details("ChIJQSrBBv1bwokRbNfFHCnyeYI")
GoogleMapsApi::Place.nearby(place, {:radius => 1000})
Directions
GoogleMapsApi::Directions.get(39.6684948, -79.6375071, 40.4313473, -80.0505404)
Using 2 places:
GoogleMapsApi::Directions.get(origin_place, dest_place)
Contributing
- Fork it ( https://github.com/[your-github-name]/google_maps_api/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
- fridgerator Nick Franken - creator, maintainer