def get_portfolio_list(self, names_only=False):
folios = []<EOL>response = self.session.get('<STR_LIT>')<EOL>json_response = response.json()<EOL>if self.session.json_success(json_response):<EOL><INDENT>folios = json_response['<STR_LIT>']<EOL>if names_only is True:<EOL><INDENT>for i, folio in enumerate(folios):<EOL><INDENT>folios[i] = folio['<STR_LIT>']<EOL><DEDENT><DEDENT><DEDENT>return folios<EOL>
Get your list of named portfolios from the lendingclub.com

Parameters
----------
names_only : boolean, optional
    If set to True, the function will return a list of portfolio names, instead of portfolio objects

Returns
-------
list
    A list of portfolios (or names, if `names_only` is True)