#NEWLINE# def children( self , access_token , folder_id ) : #NEWLINE# #INDENT# headers = self . build_headers ( access_token = access_token ) #NEWLINE# r = requests . get ( ( ( GOOGLE_DRIVE_API_URI + folder_id ) + '/children' ) , headers = headers , params = { #NEWLINE# #INDENT# 'maxResults' : 5 , #NEWLINE# #UNINDENT# } ) #NEWLINE# logger . debug ( ( 'Response %s' % r . json [ 'items' ] ) ) #NEWLINE# if ( r . status_code != requests . codes . ok ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# return r . json [ 'items' ]