Get started
Data Graphs Javascript SDK is an easy to use client library that provides comprehensive interaction with the Data Graphs API.
You can read more about the Data Graphs API in the Knowledge Base and the API Reference. The Client SDK repo is on GitHub.
Install
Copy
Usage
Copy
Configuration
Configuration options can either be passed as parameters to the DataGraphs constructor or set as environment variables. To find these values visit the Applications area of the Data Graphs App.
Constructor property | Environment variable | Description |
---|---|---|
projectId | DATAGRAPHS_PROJECT_ID | Your Data Graphs project id |
apiKey | DATAGRAPHS_API_KEY | Your Data Graphs application API key |
clientId | DATAGRAPHS_CLIENT_ID | Your Data Graphs application client id |
clientSecret | DATAGRAPHS_CLIENT_SECRET | Your Data Graphs application client secret |
Below is an example of passing these parameters to the Data Graphs client constructor:
Copy