Created
April 11, 2015 16:14
-
-
Save chrismetcalf/6e61b6114ab68e079388 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib2 | |
# Make sure you register your own app token at http://dev.socrata.com/register | |
headers = { | |
"X-App-Token" : "YOUR_APP_TOKEN_HERE" | |
} | |
request = urllib2.Request("https://data.colorado.gov/resource/q2qp-xhnj.json?county=Denver&$limit=50", headers = headers) | |
response = urllib2.urlopen(request) | |
print response.read() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment