<s> import json <EOL> import pprint <EOL> import urllib <EOL> import urllib2 <EOL> URL = "<STR_LIT>" . format ( <EOL> urllib . quote ( r"<STR_LIT>" ) , <EOL> urllib . quote ( r"<STR_LIT>" ) <EOL> ) <EOL> addresses = [ <EOL> { <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT:state>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : <NUM_LIT:10> , <EOL> } , <EOL> { <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT:state>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : <NUM_LIT:10> , <EOL> } <EOL> ] <EOL> DATA = json . dumps ( addresses ) <EOL> request = urllib2 . Request ( URL , data = DATA ) <EOL> response = urllib2 . urlopen ( request ) <EOL> print pprint . pformat ( json . loads ( response . read ( ) ) ) </s>
