Metadata-Version: 2.1
Name: telemeter
Version: 3.0.9
Summary: Retrieves information about Telenet internet usage
Home-page: https://github.com/KillianMeersman/telemeter
Author: Killian Meersman
Author-email: hi@killianm.dev
License: UNKNOWN
Keywords: telenet telemeter
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE

# Telenet Telemeter parser
## About
This program queries the 'Mijn Telenet' site to retrieve data about a user's monthly Telenet internet usage (a.k.a. telemeter).

~~It uses Selenium to fetch the necessary cookies, please make sure you have Firefox and the Gecko driver installed.
The cookies are cached so subsequent calls will be much faster.~~

UPDATE: Version 3.0 no longer uses Selenium.

Can be run as a standalone script or used as a module.
As a standalone script it prints telemeter info to the console. Credentials can be provided via environment variables (TELENET_USERNAME, TELENET_PASSWORD), else the user will be prompted for credentials.

## Installation
```sh
pip install telemeter
```

## Usage
**As module**
```python3
import telemeter

telenet_session = telemeter.TelenetSession()
telenet_session.login("my_username", "my_password")

my_telemeter = telenet_session.telemeter()
```

**As script**
```sh
python3 telemeter/telemeter.py
```


