Variable | Required | Description | Default |
---|---|---|---|
OPENELECTRICITY_API_KEY | Yes | Your API authentication key | None |
OPENELECTRICITY_API_URL | No | The API endpoint | https://api.openelectricity.org.au/v4 |
.env
files in the root of your project. Python supports loading environment variables from .env
files using the python-dotenv
package.
In Javascript and Typescript you can use the dotenv
package to load environment variables from a .env
file.
For loading environment variables on your system that are only relevant to a folder, it is recommended to use the direnv tool.