WebHooks (was: Sharing expenses between people)
Hi,
I think it could be really useful if one could directly split an expense from Kresus between multiple people. Typically, if you live in a shared flat, it might be painful to add every month the electricy and ISP bill to some expenses splitting service, and it would be super helpful if it could be done in a single click from an account line.
For my personal use case, most of my expenses are actually split in two (food, ISP, electricity etc) and I manually enter them every time in a https://github.com/spiral-project/ihatemoney instance (open-source clone of Splitwise / Tricount).
Not sure what is the best way to implement it for now, I can think about:
- Putting explicit code to handle IHateMoney API in Kresus, but that does not sound like a nice idea.
- Clean up and document the "hidden backend API" of Kresus, and use some software to push from Kresus API to IHateMoney API (IFTTT-like, I already have https://git.phyks.me/Phyks/infotuyo/ for instance).
- Making Kresus extendable through "hooks". Typically, a hook "on_transaction_import", and a IHateMoney plugin could then register on this hook, or something like this.
Thanks!