add investment to boursorama bank module

This commit is contained in:
smurail 2014-10-23 13:30:02 +02:00
commit 8672a6b443
5 changed files with 164 additions and 12 deletions

View file

@ -70,6 +70,11 @@ class BoursoramaModule(Module, CapBank):
for history in self.browser.get_history(account):
yield history
def iter_investment(self, account):
with self.browser:
for investment in self.browser.get_investment(account):
yield investment
# TODO
#def iter_coming(self, account):
# with self.browser: