能源市场的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
- Western Australia Gas Bulletin Board
- Australian REC Register
- AEMC Gas Scheme Register (developing)
- Western Australia Wholesale Electricity Market (WEM)
Singapore
Japan
- Japan Electric Power Exchange
- Kyushu Electric Power Company - H/5M Demand and Forecasted Demand
- Chubu Electric Power Company - Hourly Historical and Current Demand
- Tokyo Electric Power Company - Hourly Historical and Current Demand
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")
ACCC液化天然气净包装价格系列
fromenergy_trading_apiimportaustraliaLNGnetback,netforward,merged=australiaLNG.acccNetbackPrice()print(netback.head())
澳大利亚记录
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()
新加坡
新加坡国家电力市场(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>")
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