The IBM Cloud Data Engine Node SDK allows developers to programmatically interact with Data Engine.
Disclaimer: this SDK is being released initially as a pre-release version. Changes might occur which impact applications that use this SDK.
- Overview
- Prerequisites
- Installation
- Using the SDK
- Questions
- Issues
- Open source @ IBM
- Contributing
- License
The IBM Cloud Data Engine Node.js SDK allows developers to programmatically interact with the following service.
| Service Name | Import Path |
|---|---|
| Data Engine | sql-query-sdk/sql/v2 |
- You need an IBM Cloud account.
- Node.js >=10: This SDK is tested with Node.js versions 10 and up. It may work on previous versions but this is not officially supported.
npm install @ibm-cloud/ibm-sql-query-sdkconst Sqlquery = require('@ibm-cloud/ibm-sql-query-sdk/sql/v2');
const { IamAuthenticator } =require('@ibm-cloud/ibm-sql-query-sdk/auth');
// Create an IAM authenticator.
const authenticator = new IamAuthenticator({
apikey: <Your api key>,
});
// Set up the client.
const sqlqueryClient = new Sqlquery({
authenticator,
serviceUrl: `https://api.sql-query.cloud.ibm.com/v2`,
instanceCrn: <Your sql query instance crn>,
// ...
});
Example and how to run it are available in the example folder.
For general SDK usage information, please see this link
If you are having difficulties using this SDK or have a question about the IBM Cloud services, please ask a question at Stack Overflow.
If you encounter an issue with the SDK, you are welcome to submit a bug report. Before that, please search for similar issues. It's possible someone has already encountered this issue.
Find more open source projects on the IBM Github Page
See CONTRIBUTING.
This project is released under the Apache 2.0 license. The license's full text can be found in LICENSE.