Commit Graph

5 Commits

Author SHA1 Message Date
Lucas Verney 5faf0eec15 Fix issue #5
Provide richer API for modules

Provide a mechanism to download documents using Weboob modules
abilities.

If a user wants to download any document, it will be fetched in a
temporary folder. The file URI will be passed back in the output JSON.

If the users then have access to the server filesystem, they can
directly get the requested document and remove temporary files when they
are no longer needed.

If the users do not have such access, they can use the `/retrieve`
endpoint exposed by the webserver to retrieve the content of this
file. Note that this endpoint is not designed for a production
environment and might expose other sensitive content from your temporary
directory. Note also that this endpoint will note delete the temporary
file.

Closes #5.
2016-10-12 16:39:32 -04:00
Lucas Verney b242fc37b1 PyLint check 2016-10-12 14:27:33 -04:00
Lucas Verney ee677ab6d2 Distinguish fetch and download, see #5 2016-10-07 12:29:12 -04:00
Lucas Verney e35a2fe083 Fix some imports, clean the cozyweboob Python module
Also add a distinction between documents and bills in CapDocument
capability.
2016-10-07 11:27:32 -04:00
Lucas Verney a5c9039fee Add conversation mode script
Start to tackle #4.
2016-10-07 04:29:33 +02:00