b7e442b8ca
Use a JSON POST body rather than a form POST param in route
2016-10-26 16:42:01 -04:00
c793e56769
Add a /clean
route
...
Add a route to clean temporary downloaded files (actually deletes all
temporary folders created by cozyweboob).
2016-10-12 17:03:49 -04:00
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
b242fc37b1
PyLint check
2016-10-12 14:27:33 -04:00
ee677ab6d2
Distinguish fetch and download, see #5
2016-10-07 12:29:12 -04:00
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
2263d8c724
Use POST keyword rather than GET for stdin conversation /fetch route
2016-10-07 09:52:05 -04:00
a5c9039fee
Add conversation mode script
...
Start to tackle #4 .
2016-10-07 04:29:33 +02:00
741a021ef5
Handle correctly weboob.tools.value.Value arguments
...
Correctly export special arguments in the modules list JSON, typically
`choices`.
Close #3 .
2016-10-07 02:35:31 +02:00
0ff8e54603
Merge branch 'master' of https://github.com/Phyks/cozyweboob
2016-10-04 03:34:30 +02:00
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
b7c539a932
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:32:03 +02:00
96634a322e
Codestyle homogeneization
2016-10-03 03:24:01 +02:00
6df5e99868
Merge
2016-10-01 03:07:14 +02:00
079184855d
Implement a modules listing function
2016-10-01 03:05:57 +02:00
fc0cd72667
Implement a modules listing function
2016-09-30 16:52:32 -04:00
238cf61acc
Server script and better debugging tools
2016-09-30 16:09:08 -04:00
3e04f3c824
Fix DummyProgress class and add comments about session cookies in README.md
2016-09-30 14:26:11 -04:00
2ea9877be5
Better doc + credits
2016-09-30 11:37:29 -04:00
4820290aae
Update modules prior to running them. Closes #1 .
2016-09-30 05:44:30 +02:00
12401f616b
Avoid an AttributeError if no session is used for a module
2016-09-30 05:30:38 +02:00
48482947c2
Add a README file
2016-09-30 05:24:35 +02: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
697edaefa3
Implement Details in CapDocument
2016-09-29 17:28:39 -04:00
d8cf10bfa9
Fix gitignore
2016-09-29 14:02:59 -04:00
ca2fae4c07
Update gitignore file
2016-09-29 05:17:40 +02:00
905c141c13
No longer hardcoding capabilities
...
* More logging
* Using getpass in dev environment to ease passwords manipulation
* Dynamic capabilities fetching for each module
2016-09-29 05:09:14 +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