Exemplo n.º 1
0
 def get_movements_file(self, account_index, start_date, end_date, ordem=True, format='tsv'):
     self.get_page( *urls.account_statement( account_index=account_index, ordem=ordem, start_date=start_date, end_date=end_date))
     html= self.get_page( *urls.get_movements_file( ordem=ordem, start_date=start_date, end_date=end_date, format=format), detect_version=False)
     return html
Exemplo n.º 2
0
 def get_ordem_accounts(self):
     html= self.get_page( *urls.account_statement( ordem= True) )
     return parsing.get_accounts(html)
Exemplo n.º 3
0
 def get_prazo_accounts(self):
     html= self.get_page( *urls.account_statement( ordem=False) )
     return parsing.get_accounts(html)
Exemplo n.º 4
0
 def _check_is_authenticated(self):
     try:
         html = self.get_page(*urls.account_statement())
         return True
     except (UnauthenticatedException, RedirectedException):
         return False