非官方的xcel能源api

pyxcel的Python项目详细描述


pyxcel:xcel energy®数据的简单python api

https://travis-ci.org/bachya/pyxcel.svg?branch=masterhttps://img.shields.io/pypi/v/pyxcel.svghttps://img.shields.io/pypi/pyversions/pyxcel.svghttps://img.shields.io/pypi/l/pyxcel.svghttps://codecov.io/gh/bachya/pyxcel/branch/master/graph/badge.svghttps://api.codeclimate.com/v1/badges/71eb642c735e33adcdfc/maintainabilityhttps://img.shields.io/badge/SayThanks-!-1EAEDB.svg

pyxcel是一个简单的python库,用于从 Xcel Energy®

此库通过重复由以下用户执行的相同http请求来工作 查看Xcel Energy®网站。因为没有官方的“api”,所以 图书馆随时可能停止工作。

安装

$ pip install pyxcel

用法

importpyxcelclient=pyxcel.Client('username','password12345')# Retrieves the account overview (including energy usage, grades, etc.):client.get_account_overview()# Retrieves all billing information for the accountclient.get_bills()# Retrives detailed information for a particular premise:client.get_usages('PREMISE_ID')

贡献

  1. Check for open features/bugs 或者initiate a discussion on one
  2. Fork the repository
  3. 安装开发环境:make init
  4. 进入虚拟环境:pipenv shell
  5. 编写新功能或错误修复代码。
  6. 编写一个涵盖新功能的测试。
  7. 运行测试:make test
  8. 创建新文档:make docs
  9. 加入到authors.rst中。
  10. 提交拉取请求!

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java返回入for循环或外循环   Android是由java引起的。安全cert.CertPathValidatorException:找不到证书路径的信任锚点   PHP和Java之间有什么区别?   java我想将gridview更改为recyclerview   java获取分页的行数   试图在Java类中计算CKJM时发生类错误   java如何在BIRT报告中集成谷歌地图   java我可以在enum上使用Spring的@Component吗?   在Android Java的硬件键盘上设置CAPS_LOCK和NUM_LOCK   XSD 1.1断言中基于java XSD attributevalue的regexvalidation   java从命令行设置spring属性文件位置   Ogg格式的java语音录制?   java我能找到Groovy代码块中可能抛出的所有(已检查的)异常吗?   java为什么这会导致ClassCastException?   java在安卓 studio中的活动之间传递数据   java Intellij:如何从现有进程更新运行配置环境?   java我们如何创建Dagger 2的依赖关系图?   java如何从JSP页面到servlet获取数据   Java https连接证书不受信任+javax。网ssl。SSLException:PKIX路径生成失败