You mentioned node earlier, have you seen this:
https://www.npmjs.com/package/ledger-cli ? It's a wrapper around the
command-line tool. A proper JS parser would probably be better, though.

Emile

Le jeu. 16 juil. 2015 à 11:34, Zack Williams <[email protected]> a écrit :

> On Thu, Jul 16, 2015 at 5:31 AM, Leonardo Melo <[email protected]>
> wrote:
> > I can also try some Python
>
> I'd probably work through the Python interface, as it's already built
> in and making a http API in python isn't that difficult.
>
> I've fiddled around with Ledger's python interface a bunch, and it's
> quite workable once you recognize the rough edges - basically you have
> to recurse through the data structure to generate your own balances,
> as it doesn't sum sub-accounts, and frequently you'll have to convert
> from balance objects to amount objects in order to perform certain
> math operations:
>
> https://github.com/zdw/ledgercalc
>
> - Zack
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Ledger" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to