Skip to main content

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


Download files

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

Files for pseg, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size pseg-0.1.1-py3-none-any.whl (8.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pseg-0.1.1.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page