Using superset-dashboard-sdk with superset.apache.local

TypeScript integration

Install

npm install superset-dashboard-sdk

Quick start

import Superset_dashboard_sdk from 'superset-dashboard-sdk';

const client = new Superset_dashboard_sdk({ apiKey: "YOUR_API_KEY" });
Get a list of models
curl \
  -H "Authorization: Bearer $API_KEY" \
  http://superset.apache.local/log/
Get the menu data structure. Returns a forest like structure with the menu th…
curl \
  -H "Authorization: Bearer $API_KEY" \
  http://superset.apache.local/menu/
Get a list of charts, use Rison or JSON query parameters for filtering, sorti…
curl \
  -H "Authorization: Bearer $API_KEY" \
  http://superset.apache.local/chart/
SDK on GitHub 📄 API Docs
SDK
superset-dashboard-sdk
TypeScript
API
superset.apache.local
superset.apache.local:superset

At a glance

Language TypeScript
Endpoints120
Base URLhttp://superset.apache.local