For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 gridstatusio

Upgrade using:

python -m pip install --upgrade gridstatusio

Authentication

You can authenticate using your API key in one of two ways:

  1. Set an environment variable:

export GRIDSTATUS_API_KEY=your_api_key
  1. Pass the API key directly when creating the client:

from gridstatusio import GridStatusClient

client = GridStatusClient(api_key="your_api_key")

Last updated

Was this helpful?