Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
json in python
import json, urllib
url = ""
response = urllib.urlopen(url);
data = json.loads(
i = 0
for x in data['features']:
i += 1
print i, x['properties']['title']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment