Skip to main content

API Wrappers for the Energy Markets

Project description

Energy Trading API Wrappers

This package aims to build Pandas-based API wrappers for Energy Markets Data coming from publicly available sources. The results are returned in the Pandas dataFrame format unless specified otherwise.

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!

Supported APIs:

Australia

Singapore

Japan

Global

Installation

  • Python 3.6 or 3.7

To install, use pip :

$ pip install energy-trading-api

Requirements

  • Python 3.7

Usage

AUSTRALIA

Western Australian Wholesale Electricity Market (WEM)
from energy_trading_api import australiaWEM 
df = australiaWEM.loadForecast()
df1 = australiaWEM.demandSideProgrammePrices(year="2019")

WEM Data API Documentation

ACCC LNG Netback Price Series
from energy_trading_api import australiaLNG
netback,netforward,merged = australiaLNG.acccNetbackPrice()
print(netback.head())

ACCC LNG Netback Price Series

Australian REC Register
from energy_trading_api import australiaREC 
df = australiaREC.recDay("2019-01-01")

REC Registry API Documentation

AEMC Gas Scheme Register
from energy_trading_api import australiaNG 
df = australiaNG.pipelineRegister()
df1 = australiaNG.pipelineRegisterSearch(state="NSW",operator="APA Group")

AEMC Gas Scheme Register Website

Western Australia Gas Bulletin Board
from energy_trading_api import wagbb 
wagbb.capacityOutlook()

WAGBB API Documentation

SINGAPORE

Singapore National Electricity Market (NEMS)
from energy_trading_api import singaporeNEMS 
df = singaporeNEMS.singaporeUSEP(date="2019-01-01")

JAPAN

Japan Electric Power Exchange
from energy_trading_api import jepx 
df = jepx.spotLatest()
df = jepx.spotLatest("20190101")
Kyushu Electric Power Company (Kyuden)
from energy_trading_api import japanElectricity as je 
df = je.kyushuElectricdemandJapanese()
df1 = je.kyushuElectricdemandJapanese(day="20190101")
Chubu Electric Power Company (Chuden)
from energy_trading_api import japanElectricity as je 
df = je.chubuElectricdemandJapanese()
df1 = je.chubuElectricDemandJapaneseRange(begtime="20190101",endtime="20190101")
Tokyo Electric Power Company (TEPCO)
from energy_trading_api import japanElectricity as je 
df = je.tepcoElectricDemandHistoricalJapanese("2018")
df1 = je.tepcoElectricDemandCurrentJapanese()

GLOBAL

U.S. Energy Information Administration
from energy_trading_api import eia_api 
df = eia_api.ngAustraliaProduction("<YOUR-API-KEY-HERE>")

EIA-Python Documentation EIA API Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
energy_trading_api-0.0.29-py3-none-any.whl (12.3 kB) Copy SHA256 hash SHA256 Wheel py3
energy_trading_api-0.0.29.tar.gz (10.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page