block by joyrexus 8691163

Geocoding CLI

Quick demo of how to use Google’s Geocoding API.

Pass in an address/location as argument and the location coordinates are returned.

For example:

geocode.coffee '973 E 61st Street, Chicago, IL'

… returns:

{ lat: 41.7840748, lng: -87.6021859 }

See also Google’s Geocoding Service.

geocode.coffee