Python Client
We provide a Python client library that you can use to interact with the API. You can find the library here.
Installation
gridstatusio supports Python 3.10+. Install with pip (or uv):
pip install gridstatusioUpgrade using:
python -m pip install --upgrade gridstatusioAuthentication
You can authenticate using your API key in one of two ways:
Set an environment variable:
export GRIDSTATUS_API_KEY=your_api_keyPass the API key directly when creating the client:
from gridstatusio import GridStatusClient
client = GridStatusClient(api_key="your_api_key")Last updated
Was this helpful?

