gnucash API

Linas Vepstas linas@linas.org
Wed, 24 Oct 2001 22:27:07 -0500


On Wed, Oct 24, 2001 at 06:18:03PM -0700, Michael Thompson was heard to remark:
> 
> I'm new to this list so forgive me if this has been hashed before.
> 
> I've written a program to download transactions from my bank and I'd
> like to be able to insert these into my gnucash accounts automatically.
> 
> Has anyone done this already?

If they're QIF, then you can import them directly.

> I've seen from the archives that there used to be a perl API, but
> it seems to have disappeared. Is that true? At least, gnc-prices,
> an application that used this interface, isn't a perl program anymore.
Its semi-resurrected, in the cvs tree in src/optional directory.
it works, except that anything that returns a list isn't supported.
(i.e. is not converted to a perl array).

> BTW, I know about the guile interface, but I don't know scheme.
> If this is the only way, can anyone recommend any guile programs
> that might serve as relevant examples?

There are various intro tutorials one the net.  Most simple things 
are simple.  The one that I struggled with was using tail recursion 
to implement a loop.  That had me confused for a good while. 


--linas

-- 
pub  1024D/01045933 2001-02-01 Linas Vepstas (Labas!) <linas@linas.org>
PGP Key fingerprint = 8305 2521 6000 0B5E 8984  3F54 64A9 9A82 0104 5933