@ibm-cloud/ibm-sql-query-sdk

1.0.9 • Public • Published

Build Status semantic-release

Data Engine Node.js SDK

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.

Table of Contents

Overview

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

Prerequisites

  • 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.

Installation

npm install @ibm-cloud/ibm-sql-query-sdk

Using the SDK

const 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

Questions

If you are having difficulties using this SDK or have a question about the IBM Cloud services, please ask a question at Stack Overflow.

Issues

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.

Open source @ IBM

Find more open source projects on the IBM Github Page

Contributing

See CONTRIBUTING.

License

This project is released under the Apache 2.0 license. The license's full text can be found in LICENSE.

Readme

Keywords

Package Sidebar

Install

npm i @ibm-cloud/ibm-sql-query-sdk

Weekly Downloads

4

Version

1.0.9

License

Apache-2.0

Unpacked Size

67.5 kB

Total Files

22

Last publish

Collaborators

  • wxai-sdk-automation
  • schmatic
  • japetrsn
  • fanfei
  • jwsartor
  • dvesperini
  • kpnode
  • reggeenr
  • idsorg
  • smulampa
  • ibm-cloud-event-notifications
  • baijiebj
  • dpopp07
  • ricellis
  • cloudant-sdks-automation
  • secrets.automation
  • nvenkatesh
  • dpittner_ibm
  • externaluse.sqlquery
  • ibm-reggie
  • edwin_gonzales_ibm
  • ibm-devx-sdk