Skip to main content

Retrieves information about Telenet internet usage

Project description

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

pip install telemeter

Usage

As module

import telemeter

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

my_telemeter = telenet_session.telemeter()

As script

python3 telemeter/telemeter.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telemeter-3.0.4.tar.gz (4.9 kB view hashes)

Uploaded source

Built Distribution

telemeter-3.0.4-py3-none-any.whl (5.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page