Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.
/ pyxcel Public archive

A Simple Python API for Xcel Energy® Data

License

Notifications You must be signed in to change notification settings

bachya/pyxcel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyxcel: A Simple Python API for Xcel Energy® Data

https://travis-ci.org/bachya/pyxcel.svg?branch=master https://api.codeclimate.com/v1/badges/71eb642c735e33adcdfc/maintainability

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.overview.get()

# Retrieves all billing information for the account
client.billing.get()

# Retrives detailed information for a particular premise:
client.usages.get('PREMISE_ID')

Contributing

  1. Check for open features/bugs or initiate a discussion on one.
  2. Fork the repository.
  3. Install the dev environment: make init.
  4. Enter the virtual environment: pipenv shell
  5. Code your new feature or bug fix.
  6. Write a test that covers your new functionality.
  7. Run tests: make test
  8. Build new docs: make docs
  9. Add yourself to AUTHORS.rst.
  10. Submit a pull request!

About

A Simple Python API for Xcel Energy® Data

Resources

License

Stars

Watchers

Forks

Packages

No packages published