#NEWLINE# def get_transactions_csv( self , include_investment = False ) : #NEWLINE# #INDENT# 'Returns the raw CSV transaction data as downloaded from Mint.\n\n        If include_investment == True, also includes transactions that Mint\n        classifies as investment-related.  You may find that the investment\n        transaction data is not sufficiently detailed to actually be useful,\n        however.\n        ' #NEWLINE# result = self . request_and_check ( ( 'https://wwws.mint.com/transactionDownload.event' + ( '?accountId=0' if include_investment else '' ) ) , headers = result . headers , expected_content_type = 'text/csv' ) #NEWLINE# return result . content