Re: Specifying beancount file when ingesting

2020-11-06 Thread Sam Bragg
Thank you Martin! To take this one step further, is there a way I can specify arguments in the importer file itself, so I don't have to specify them on the command line? Then I can just run the importer without any args. On Fri, 6 Nov 2020, 06:38 Martin Blais, wrote: > python importer.py --do

Re: Specifying beancount file when ingesting

2020-11-05 Thread Martin Blais
python importer.py --downloads=$HOME/Downloads extract -f ledger.beancount On Tue, Nov 3, 2020 at 12:31 PM Sam Bragg wrote: > I've written my own importer.py file which does the following: > >- defines an importer class (containing an extract method only - it's >consuming an API respons

Specifying beancount file when ingesting

2020-11-03 Thread Sam Bragg
I've written my own importer.py file which does the following: - defines an importer class (containing an extract method only - it's consuming an API response, not a file) - a call to a http client to download transactions via API - a call to scripts_utils.ingest([MyImporter(api_respo