23 lines
435 B
ReStructuredText
23 lines
435 B
ReStructuredText
====================
|
|
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
|