1.0.0 • Published 1 year ago
navify-vizserv-sdk v1.0.0
Visualisation SDK
The vizserv-sdk allows you to get dashboards from Visualization Service (vizserv) into your own app, using your app's authentication.
Get All Dashboards
Using npm:
npm i navify-vizserv-sdk
You can get all dashboards by using (getAllDashboards) API. Parameters expected :
- successCallback : function implemented for processing success response.
- failureCallback : function implemented for processing error response.
this.getAllDashboards = function(successCallback,failureCallback){ }
Show Dashboard
You can get specific dashboard by passing slug id using below API. Parameters expected :
element : html element ID on which the dashboard view will be mounted
slug : unique identifier of the dashbaord
filterJson : filter json in the required format
failureCallback : function implemented for processing error response.
this.showDashboard = function(element, slug, filterJson,failureCallback){}