Wrapper around Weboob to expose a HTTP API.
Phyks (Lucas Verney) fcfd801d90 Add support for CapGauge 2 years ago
doc Update doc 2 years ago
infotuyoob Add support for CapGauge 2 years ago
.gitignore Continue refactor 2 years ago
LICENSE Rework a bit README 2 years ago
README.md Update doc 2 years ago
infotuyoob.py Started to rework the CozyWeboob code 2 years ago
requirements.txt Started to rework the CozyWeboob code 2 years ago

README.md

infotuyo/infotuyoob

This script wraps around Weboob and its modules to expose an HTTP JSON API, that could be easily requested by huginn.

Installation

  1. Clone this repository
  2. Install weboob according to [their doc]()
  3. Install requirements, pip install -r requirements.txt.

Configuration

If you want to edit the configuration, copy infotuyoob/default_settings.json anywhere you want, and edit the file according to your needs.

Usage

Typical command-line usage for this script is:

./server.py

This script spawns a Bottle webserver, listening on localhost:7777 (by default).

You can pass it a path to a settings JSON file to use if you want: ./server.py some_settings.json.

API

For a complete description of the API, see the API description in the doc/ folder.

Contributing

All contributions are welcome. Feel free to make a PR :)

Python code is currently Python 2, but should be Python 3 compatible as Weboob is moving towards Python 3. All Python code should be PEP8 compliant.

License

The content of this repository is licensed under an MIT license, unless explicitly mentionned otherwise.

Credits

  • Weboob and the weboob guys on #weboob @ freenode
  • Kresus for giving the original idea and base code.