# redash_client **Repository Path**: mirrors_mozilla/redash_client ## Basic Information - **Project Name**: redash_client - **Description**: No description available - **Primary Language**: Unknown - **License**: MPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-22 - **Last Updated**: 2026-03-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README .. image:: https://travis-ci.org/mozilla/redash_client.svg?branch=master :target: https://travis-ci.org/mozilla/redash_client .. image:: https://coveralls.io/repos/github/mozilla/redash_client/badge.svg?branch=master :target: https://coveralls.io/github/mozilla/redash_client?branch=master ==================== Redash Python Client ==================== A client for the Redash API for stmo (https://sql.telemetry.mozilla.org) ======= Install ======= .. code-block:: bash pip install redash_client ===== Usage ===== Before using :code:`RedashClient`, set the :code:`REDASH_API_KEY` environment variable to your Redash API key: :code:`export REDASH_API_KEY=` To import and use :code:`RedashClient`: .. code:: python import os from redash_client.client import RedashClient api_key = os.environ["REDASH_API_KEY"] redash_client = RedashClient(api_key) # Make a Redash API call: redash_client.search_queries("AS Template:") =============== Package for Pip =============== First, you must update the :code:`version` field in :code:`setup.py`. Then run this commands: .. code-block:: bash python setup.py sdist bdist_wheel twine upload dist/* Make sure you have ``wheel`` and ``twine`` installed.