Last updated:
0 purchases
pyxcel 1.2.1
pyxcel: A Simple Python API for Xcel Energy® Data
pyxcel is a simple Python library for energy data from
Xcel Energy®.
This library works by repeating the same HTTP requests performed by users who
view the Xcel Energy® website. Because there is no official “API,” this
library may stop working at any time.
Installation
$ pip install pyxcel
Usage
import pyxcel
client = pyxcel.Client('username', 'password12345')
# Retrieves the account overview (including energy usage, grades, etc.):
client.get_account_overview()
# Retrieves all billing information for the account
client.get_bills()
# Retrives detailed information for a particular premise:
client.get_usages('PREMISE_ID')
Contributing
Check for open features/bugs
or initiate a discussion on one.
Fork the repository.
Install the dev environment: make init.
Enter the virtual environment: pipenv shell
Code your new feature or bug fix.
Write a test that covers your new functionality.
Run tests: make test
Build new docs: make docs
Add yourself to AUTHORS.rst.
Submit a pull request!
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.