Metadata-Version: 2.4
Name: ercot-api
Version: 0.1.0
Summary: Minimal client skeleton for the ERCOT Public API (api.ercot.com/api/public-reports)
Author-email: BitSquad LLC <admin@megawattland.com>
License: MIT
Project-URL: Homepage, https://megawattland.com
Project-URL: Repository, https://github.com/chutch62416-netizen/vault
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# ercot-api

Minimal client skeleton for the ERCOT Public API (api.ercot.com/api/public-reports)

## Credentials

Register at the ERCOT Public API Portal (https://apiexplorer.ercot.com). Registration gives you
an `Ocp-Apim-Subscription-Key`; the bearer token comes from ERCOT's sign-in flow for that account.
This package does not store or obtain credentials for you.

## Usage

```python
from ercot_api import ErcotClient
c = ErcotClient(subscription_key="...", bearer="...")
c.get("np6-905-cd/spp_node_zone_hub", deliveryDateFrom="2026-01-01", size=100)
```

```
ercot-api --help
ercot-api np6-905-cd/spp_node_zone_hub --key KEY --bearer TOKEN --param size=10
```

Unofficial; not affiliated with ERCOT.

Maintained by [BitSquad LLC / MegawattLand](https://megawattland.com). MIT license. Source: https://github.com/chutch62416-netizen/vault
