is a gnucash API available?

Guus Bonnema gbonnema at xs4all.nl
Sun Mar 10 14:08:47 EDT 2013


On Sun, 10 Mar 2013 14:52:18 +0100
Geert Janssens <janssens-geert at telenet.be> wrote:

> Op 10-03-13 14:11, Chris Peachment schreef:
> > I haven't tried it but there is an sqlite database option for
> > storing the data. Once stored there you can use the regular
> > sqlite api and/or command line query tool (sqlite3).
> >
> > Of course, that assumes you know SQL and can make sense of the
> > gnucash database schema.
> >

Thanks both Chris and Klaus. Will check this out if I cannot get the engine to
work for me.

<snip>


> There are a couple of ways to access the data programmatically:
> - we have bindings for guile (scheme) and python
> - the core data is accessible via an API in C
> 
> The python bindings are optional, so you will probably have to recompile 
> GnuCash with python bindings enabled if you want to use this.
> 
> The C api is mostly documented here: 
> http://svn.gnucash.org/docs/HEAD/modules.html
> Particularly the GnuCash Engine part will show you how you can access 
> accounts and transactions via a C interface.

Yep, this is precisely what I meant. Will check this out and see if I
understand it and can use it. Thanks, Geert.


> 
> The same page also has a few links regarding the python bindings, but 
> these are much less documented. The examples in the source tree may be 
> more useful.
> 
> I hope this can help you.
> 
> Geert


Guus.


More information about the gnucash-user mailing list