1.0.1 • Published 5 months ago

public-api-service-sdk v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

Nodeio NPM SDK

Description

The Nodeio Public API Service SDK provides developers with a seamless integration with the Nodeio API. It simplifies the process of interacting with the API and allows you to access Nodeio's features and functionalities effortlessly.

Installation

You can install the library using either npm or yarn:

NPM

npm install public-api-service-sdk

Yarn

yarn add public-api-service-sdk

Usage

  1. Import the NodeioPublicApiService class into your project:

ES6 module:

import { NodeioPublicApiService } from 'public-api-service-sdk';

CommonJS module:

const { NodeioPublicApiService } = require('public-api-service-sdk');
  1. Initialize the SDK with your API key and base URL:
const nodeioSdk = new NodeioPublicApiService({
  apiKey: 'YOUR-API-KEY',
  baseUrl: 'BASE-URL',
});
  1. Start using the SDK to interact with the Nodeio API:
async function getSelectedResponses() {
  try {
    const responses = await nodeioSdk.storyboard.getSelectedResponses();
    console.log(responses);
  } catch (error) {
    console.error('Error fetching data:', error);
    // Handle errors gracefully in your application
  }
}

getSelectedResponses();

Replace 'YOUR-API-KEY' with your actual Nodeio API key, and 'BASE-URL' with the correct base URL for the Nodeio API.

Feel free to explore other available methods in the nodeioSdk object to interact with different parts of the Nodeio Public Service API.

For detailed information about each endpoint and its parameters, please refer to the Nodeio API documentation.

If you encounter any issues or have questions, please don't hesitate to reach out to our support team at support@nodeio.xyz.

Happy coding!

1.0.1

5 months ago

1.0.0

5 months ago