Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import urllib2
import json
url = ""
page = urllib2.urlopen(url).read()
data = json.loads(page)['values']
data = map(lambda point: point['y'], data)
print int(sum(data))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.