Python client for PSE&G gas Mmters
Project description
This is a utility package to interact with a PSE&G gas meter
Pseg calls the API of the PSE&G gas meter to return the current energy usage.
It requires the meter’s energize id and a session id. You can find this information as cookies after logging into your PSE&G customer account at https://pseg.com/.
Example usage:
from pseg import Meter
meter = Meter(“17baf96d8fdc0abcded2cf428b74d3151”, “bRWWRMk6PCka1MQ%2BabcedpaZxxMafUhDSQoaRDvDC1Aw%3D%3D”) gas_consumption_therms = meter.last_gas_consumption_read()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pseg-0.1.1.tar.gz
(3.0 kB
view hashes)
Built Distribution
pseg-0.1.1-py3-none-any.whl
(8.0 kB
view hashes)