... GnuCash documentation a bit lacking on how to start using the C API.
There are different languages bindings and workarounds to manipulate GnuCash data, but I wanted to use C in a proper way.
A couple of scripts are provided to compile and execute the code.
Once the required packages are installed they should run on every linux distro.
A binary (compiled on Ubuntu 22.04.3 LTS) is also included, together with the test GnuCash book.
Feel free to reach out for any problem or suggestion.