experimental-accounting-api
Find a file
Joar Wandborg 124bd1706d Added SQL storage backend
- Added Storage ABC
- Moved Ledger class to storage/ledgercli.py
- Added SQL requirements to requirements.txt
2013-12-14 16:08:47 +01:00
accounting Added SQL storage backend 2013-12-14 16:08:47 +01:00
bin Added client, other fixes 2013-12-11 09:25:55 +01:00
doc [doc] Added api/accounting.rst to index.rst toctree 2013-12-12 20:56:53 +01:00
LICENSE Added AGPLv3 2013-12-12 20:53:22 +01:00
non-profit-test-data.ledger Added transaction IDs and metadata 2013-12-11 15:12:08 +01:00
README.rst Updated README 2013-12-12 22:25:31 +01:00
requirements.txt Added sphinx to requirements.txt 2013-12-12 15:11:31 +01:00

====================
 The Accounting API
====================

--------------
 Dependencies
--------------

-   ledger-cli version 3 (I have not tried with version 2.x)
-   Flask (install by running ``pip install -r requirements.txt``).


-------
 Usage
-------

.. code-block:: bash

    # Run the web service
    LEDGER_FILE=../path/to/your.ledger ./bin/serve

    # Get a balance report via the web service
    ./bin/client balance