Metadata-Version: 2.4
Name: pysuezV2
Version: 2.0.2
Summary: Get your water consumption data from your Suez account (www.toutsurmoneau.fr or www.eau-olivet.fr)
Project-URL: Homepage, https://github.com/jb101010-2/pySuez
Project-URL: Issues, https://github.com/jb101010-2/pySuez/issues
Author: Farid N27
Author-email: jb101010-2 <dev.julien.basson@gmail.com>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: suez,toutsurmoneau,water consumption
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Requires-Dist: aiohttp
Description-Content-Type: text/markdown


pySuez
=======
Get your consumption data from your Suez account (www.toutsurmoneau.fr) 

This work is inspired by the [Sirus](https://github.com/Sirus10)'s [domoticz sensor](https://github.com/Sirus10/domoticz).
It is also inspired by [`pyLinky`](https://github.com/pirionfr/pyLinky) code from [`Pirionfr`](https://github.com/pirionfr).

Installation
------------

The easiest way to install the library is using [`pip`](https://pip.pypa.io/en/stable/):

    pip install pySuezV2

You can also download the source code and install it manually::

    cd /path/to/pySuez/
    python setup.py install

Usage
-----
Print your current and history data

    pySuez -u <USERNAME> -p <PASSWORD> [-c <COUNTER_ID>] [-url <endpoint url>] [-l loglevel=DEBUG|INFO|...]

You need to get your `COUNTER_ID` either from your bill or from your history consumption on your Suez's website. You can find it in the source code of this webpage, right after `.../mon-compte-en-ligne/statMData/xxxxxxx?...`.
If no provider name is given, `Tout sur mon eau` will be used. The only one supported here is `Eau Olivet`.

Dev env
-------
create virtual env and install project

    virtualenv -p /usr/bin/python env
    pip install -e .

## Credits
Originally forked from [ooii/pySuez](https://github.com/ooii/pySuez)
