python importer.py --downloads=$HOME/Downloads extract -f ledger.beancount
On Tue, Nov 3, 2020 at 12:31 PM Sam Bragg <[email protected]> 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 response, not a file) > - a call to a http client to download transactions via API > - a call to scripts_utils.ingest([MyImporter(api_response)]) > > I use the following command to run my importer script: > python importer.py extract > > I just can't seem to figure out how to specify my .beancount file so that > transactions can actually be posted to it! > > > -- > You received this message because you are subscribed to the Google Groups > "Beancount" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/0b4360d5-8acc-492f-8e1c-3b61291bfe6dn%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/0b4360d5-8acc-492f-8e1c-3b61291bfe6dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhOQ6DK56HTUmVyyvsa0HCV%2B7Yg9JXVFwqkNKEJiLaet6w%40mail.gmail.com.
