An unofficial Xcel Energy® API
Project description
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.
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!
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
Built Distribution
File details
Details for the file pyxcel-1.2.1.tar.gz
.
File metadata
- Download URL: pyxcel-1.2.1.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b31e7bfd6910363d43f30017bf6b297d25eb994a8ec3ba37836b21a088d4452c |
|
MD5 | 8927bc84d4d053f5c30d95c53f6171a2 |
|
BLAKE2b-256 | 39f48ded4e9393447c8c4a1d21d4a2ad7a6f73bbde38e9ec51affa7361c476eb |
File details
Details for the file pyxcel-1.2.1-py2-none-any.whl
.
File metadata
- Download URL: pyxcel-1.2.1-py2-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ab9718664b6a314623471b6958c55f9ae3876303b210a48be85744d84585920 |
|
MD5 | f4b8b46f5480786d1d46624dd2985f3a |
|
BLAKE2b-256 | ea50f0491cd37fb78a24dd39ab212a653800a49cbd50bce611a0ff83092ab85c |