Skip to content

Instantly share code, notes, and snippets.

@DenisCarriere
Created January 15, 2014 22:27
Show Gist options
  • Save DenisCarriere/8446019 to your computer and use it in GitHub Desktop.
Save DenisCarriere/8446019 to your computer and use it in GitHub Desktop.
Here's how my Geocoder works, the same function applies to 8 providers (Google, Bing, OSM, MapQuest, TomTom, Nokia, ESRI, MaxMind)
import geocoder
g = geocoder.google('Ottawa, Ontario')
g.latlng
[45.4215296, -75.6971930999]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment