eiapy icon indicating copy to clipboard operation
eiapy copied to clipboard

A simple wrapper for the U.S. Energy Information Administration API

Results 10 eiapy issues
Sort by recently updated
recently updated
newest added

Library looks useful, but I get this error: 'error': 'EIA retired APIv1 on March 13th, 2023. Please use an APIv2 call starting with /v2, or a backward compatibility call with...

The EIA will dropping support for v1 of the api in November 2022. https://github.com/electricitymap/electricitymap-contrib/issues/4270#issuecomment-1162962429 https://www.eia.gov/opendata/v1/ https://www.eia.gov/opendata/documentation.php I need to investigate what work is needed to upgrade `eiapy` to work with...

Getting the following error when running any eiapy function (Series, Category). JSONDecodeError Traceback (most recent call last) in ----> 1 gulf_category = Category(296728).get_info() 2 3 # Find all child series...

Hello, I knew this library through the electricity-map. 🙂 resolves #15 This PR apply pyupgrade with python 3.6+ option so that it can use f-string as well as other simpler...

Went through and cleaned up the `README.md` file. I was planning on doing some refactoring of the code if you're open to it.

As per the above title, likely to happen at some point this year?

Maybe start using `pyproject.toml`, `PEP 517`, `PEP 518`etc etc

As shown in the example below the eia API expects timestamps in ISO 8601 format (YYYYMMDDTHHZ) with Z meaning [UTC](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). However there was show to be a problem in tmrowco/electricitymap-contrib/pull/2188,...

Is it worth allowing just data to be returned? Something like this; ```python >>> from eiapy import Series >>> cal_to_mex = Series('EBA.CISO-CFE.ID.H') >>> cal_to_mex.last(5, data_only=True) [['20180401T07Z', -11], ['20180401T06Z', -16], ['20180401T05Z',...

Currently the Relation class does not work. The api documentation on this part is poor (looks like it's been copy pasted from previous section) so it's going to be a...