Created
December 8, 2017 09:55
-
-
Save dvas0004/c3fd44c9063273eccbd4c91170878ea8 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
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