Redash API Client written in Python.
- Python3.6+
pip install git+https://github.com/UnitedTraders/redash-api-client-ut.git
from redashAPI import RedashAPIClient
# Create API client instance
"""
:args:
API_KEY
REDASH_HOST (optional): `http://localhost:5000` by default
"""
Redash = RedashAPIClient(API_KEY, REDASH_HOST)
URI | Supported Methods |
---|---|
users | GET, POST |
users/1 | GET, POST |
groups | GET, POST |
groups/1 | GET, POST, DELETE |
data_sources | GET, POST |
data_sources/1 | GET, POST, DELETE |
Some examples you can see in redashAPI/test_client.py
. I know that the shared state between tests is pure evil, but I want to quickly test my code.
This project is licensed under the MIT License - see the LICENSE file for details.