Skip to content

Instantly share code, notes, and snippets.

@rdhyee
Last active August 29, 2015 14:03
Show Gist options
  • Save rdhyee/6ae718e6fd1f8daec889 to your computer and use it in GitHub Desktop.
Save rdhyee/6ae718e6fd1f8daec889 to your computer and use it in GitHub Desktop.
def wh_geocode():
import requests
url = "http://rpc.geocoder.us/service/csv?address=1600+Pennsylvania+Ave,+Washington+DC"
r = requests.get(url).content
return r.split(",")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment