#NEWLINE# def user_network_history( self , offset = None , expand_client_id = False , limit = None , expand_user = False ) : #NEWLINE# #INDENT# params = dict ( ) #NEWLINE# if ( expand_client_id is True ) : #NEWLINE# #INDENT# params [ 'expand_client_id' ] = 'true' #NEWLINE# #UNINDENT# if ( expand_user is True ) : #NEWLINE# #INDENT# params [ 'expand_user' ] = 'true' #NEWLINE# #UNINDENT# if ( offset is not None ) : #NEWLINE# #INDENT# assert isinstance ( offset , integer_types ) #NEWLINE# params [ 'offset' ] = str ( offset ) #NEWLINE# #UNINDENT# if ( data is not None ) : #NEWLINE# #INDENT# assert isinstance ( limit , integer_types ) #NEWLINE# params [ 'limit' ] = str ( limit ) #NEWLINE# #UNINDENT# data = self . _call_oauth2 ( 'v3/user/network_history' , params ) #NEWLINE# return data