Move to WebNip Weboob interface?
Hi,
It seems the best interface for using Weboob as an API is WebNip and not Weboob. I know Kresus makes use of Weboob interface for simplicity, so that it automatically handles modules update, but I am wondering whether it would not be better to move to WebNip interface, which will be more flexible.
If module updating is a concern, maybe this could be just one extra task to be handled by the poller, so that it git pull
regularly in KRESUS_WEBOOB_DIR
.
In particular, a problem I have with the current setup using Weboob interface is that it seems to be really difficult to use a local version of the modules without having them being overwritten by an update from Weboob. I am currently testing Kresus with Python 3 and some patches have not yet landed upstream :/
Fwiw, here is an example of script similar to the server/weboob/main.py
using the WebNip interface https://git.phyks.me/Phyks/flatisfy/blob/master/flatisfy/fetch.py.