Quick example of how to use Gradient API with Python.
The code relies on environment variables. They can be injected through dotenv
by creating .env
file in the current directory:
GRADIENT_ACCESS_TOKEN=...
GRADIENT_WORKSPACE_ID=...
- Clone this repo
- Run
poetry install
- Run
poetry shell
- Run
python gradient_sdk_python_example/list.py