Commit Graph

10 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 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 2263d8c724 Use POST keyword rather than GET for stdin conversation /fetch route 2016-10-07 09:52:05 -04:00
Lucas Verney a5c9039fee Add conversation mode script
Start to tackle #4.
2016-10-07 04:29:33 +02:00
Lucas Verney 93412281d0 Add a /list endpoint to the server
Add a new `/list` endpoint to the server. This endpoint lists all the
available modules and their configuration options.
2016-10-04 03:34:13 +02:00
Lucas Verney 238cf61acc Server script and better debugging tools 2016-09-30 16:09:08 -04:00
Lucas Verney 3e04f3c824 Fix DummyProgress class and add comments about session cookies in README.md 2016-09-30 14:26:11 -04:00
Lucas Verney 2ea9877be5 Better doc + credits 2016-09-30 11:37:29 -04:00
Lucas Verney 48482947c2 Add a README file 2016-09-30 05:24:35 +02:00