newbie: api reference for guile extension
Derek Atkins
warlord@MIT.EDU
27 Dec 2002 17:13:08 -0500
Pretty much all the scheme APIs are self-documented.. You can find
the gw-*.html files within the build tree (after you build Gnucash).
In particular, you probably want to look at gw-engine.html, which
documents the Engine API.
Mostly you probably want to:
1) load a data file
2) find the source and target accounts (remember that Gnucash is
double-entry, so you need two accounts)
3) create a new transaction with two splits and make the proper transfer
4) commit your changes.
5) save the data file.
You could do all this in C if you prefer. The APIs are pretty similar.
-derek
Mirko Koenig <koenig@v-i-t.de> writes:
> Hi
>
> I'm writing a software for my fathers shoe shop (he's not al bundy,-).
> I want to connect my software to gnucash, because i don't want to write
> another money manager.
> I'm looking for a way to manipulate an account from an external program.
>
> I read guile/scm-files can do that, but i can't find a api reference or
> something like this to learn which functions to call to manipulate an
> account.
>
> The only thing a want to do is to do a transaction an a specific account.
>
> Thanks for your answers
>
> Mirko
> --
> Mirko Koenig VIT Proz. http://www.v-i-t.de
>
> homepage: http://koenig.v-i-t.de
> ICQ: #11181751
> e-mail: koenig@v-i-t.de
>
> Without chaos, there is no need to be orderly
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel@lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available