#NEWLINE# def get_content( uri ) : #NEWLINE# #INDENT# req = Request ( uri ) #NEWLINE# req . add_header ( 'Authorization' , 'Basic bGVhcm5pbmc6bGVhcm5pbmc==' ) #NEWLINE# req . add_header ( 'Accept' , 'application/json' ) #NEWLINE# response = urlopen ( req ) #NEWLINE# response_string = response . read ( ) . decode ( 'utf-8' ) #NEWLINE# response . close ( ) #NEWLINE# return response_string