Commit Graph

7 Commits

Author SHA1 Message Date
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
2ea9877be5 Better doc + credits 2016-09-30 11:37:29 -04:00
6fb8a24e48 Continue weboob wrapper
* Export full absolute URLs in resulting JSON.
* Export session cookies in resulting JSON, to download required files
on Cozy side.
* Add comments in the code.
2016-09-30 05:03:09 +02:00
d8cf10bfa9 Fix gitignore 2016-09-29 14:02:59 -04:00
ca2fae4c07 Update gitignore file 2016-09-29 05:17:40 +02:00
094696a0cd Read JSON definitions of connectors to use on stdin 2016-09-28 17:28:29 -04:00
0abbf06225 First demo of JSON export for Amazon 2016-09-28 15:38:55 -04:00