Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
for bucket in res['transactions']['buckets']:
key1 = bucket['key']
for innerbucket1 in bucket['BySourceAddress']:
key2 = innerbucket1['key']
for innerbucket2 in innerbucket1['buckets']:
key3 = innerbucket2['key']
for innerbucket3 in innerbucket2['buckets']:
key4 = innerbucket3['key']
print "({},{}.{},{})".format(key1,key2,key3,key4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment