能源市场的api包装

energy-trading-api的Python项目详细描述


能源交易API包装

该软件包旨在为来自公共来源的能源市场数据构建基于熊猫的api包装器。 除非另有说明,否则结果将以pandas数据帧格式返回。

disclaimer While readily useable, this API library is under constant in development. The reliability of the data from the API list depends on the sources. Enjoy!

支持的API:

Australia

Singapore

Japan

Global

安装

  • python 3.6或3.7

要安装,请使用pip

$ pip install energy-trading-api

要求

  • Python3.7

用法

澳大利亚

西澳大利亚电力批发市场(WEM)
fromenergy_trading_apiimportaustraliaWEMdf=australiaWEM.loadForecast()df1=australiaWEM.demandSideProgrammePrices(year="2019")

WEM Data API Documentation

ACCC液化天然气净包装价格系列
fromenergy_trading_apiimportaustraliaLNGnetback,netforward,merged=australiaLNG.acccNetbackPrice()print(netback.head())

ACCC LNG Netback Price Series

澳大利亚记录
fromenergy_trading_apiimportaustraliaRECdf=australiaREC.recDay("2019-01-01")

REC Registry API Documentation

AEMC气体方案寄存器
fromenergy_trading_apiimportaustraliaNGdf=australiaNG.pipelineRegister()df1=australiaNG.pipelineRegisterSearch(state="NSW",operator="APA Group")

AEMC Gas Scheme Register Website

西澳大利亚天然气公告牌
fromenergy_trading_apiimportwagbbwagbb.capacityOutlook()

WAGBB API Documentation

新加坡

新加坡国家电力市场(nems)
fromenergy_trading_apiimportsingaporeNEMSdf=singaporeNEMS.singaporeUSEP(date="2019-01-01")

日本

日本电力交易所
fromenergy_trading_apiimportjepxdf=jepx.spotLatest()df=jepx.spotLatest("20190101")
九州电力公司(九州)
fromenergy_trading_apiimportjapanElectricityasjedf=je.kyushuElectricdemandJapanese()df1=je.kyushuElectricdemandJapanese(day="20190101")
中部电力公司(Chuden)
fromenergy_trading_apiimportjapanElectricityasjedf=je.chubuElectricdemandJapanese()df1=je.chubuElectricDemandJapaneseRange(begtime="20190101",endtime="20190101")
东京电力公司
fromenergy_trading_apiimportjapanElectricityasjedf=je.tepcoElectricDemandHistoricalJapanese("2018")df1=je.tepcoElectricDemandCurrentJapanese()

全局

美国能源信息管理局
fromenergy_trading_apiimporteia_apidf=eia_api.ngAustraliaProduction("<YOUR-API-KEY-HERE>")

EIA-Python DocumentationEIA API Documentation

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

推荐PyPI第三方库


热门话题
java连接usb到uart设备到安卓设备>3.1   可以强制Php中的web应用程序与Java中的桌面应用程序一起工作吗?   java为什么自定义系统类加载器不工作?   数组在Java中解析具有多个分隔符的字符串   PMD Java 8德米特定律   JavaSpringMVC表单验证不适用于嵌套的复杂类型   让Eclipse Java组织导入以使用Google checkstyle   java Appium:无法创建新会话   java如何在数组中声明新字段   java如何解决“无法初始化类org.apache.cassandra.config.DatabaseDescriptor”?   java AsyncTask创建socket   java向@CreatedBy添加更多信息   如何在ubuntu中运行包含大量jars依赖项的java文件   java如何使用<s:select>标记并在中休眠来填充下拉列表?   java获取错误:找不到符号变量“level”和“next_level_button”   javaweb应用中基于UI的ajax显示代码流   Java长到MySql   java JvisualVM:奇怪的应用程序行为   ubuntu将Java程序的输出结果保存到一个文件中