#NEWLINE# def search( query ) : #NEWLINE# #INDENT# resp = requests . get ( ( ORCID_PUBLIC_BASE_URL + 'search/orcid-bio' ) , params = { #NEWLINE# #INDENT# 'q' : unicode ( query ) , #NEWLINE# #UNINDENT# } , headers = BASE_HEADERS ) #NEWLINE# json_body = resp . json ( ) #NEWLINE# return ( Author ( res ) for res in json_body . get ( 'orcid-search-results' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) . get ( 'orcid-search-result' ) )