kiab_sdk

1.0.9 • Public • Published

kiab_sdk

KiabSdk - JavaScript client for kiab_sdk KIAB SMS Service This SDK is automatically generated by the Swagger Codegen project:

  • API version:
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install kiab_sdk --save

git

If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Getting Started

Please follow the installation instruction and execute the following JS code:

var KiabSdk = require('kiab_sdk');

var api = new KiabSdk.AuthApi()

var opts = { 
  'body': new KiabSdk.Body() // {Body} 
};
api.authtoken(opts).then(function(data) {
  console.log('API called successfully. Returned data: ' + data);
}, function(error) {
  console.error(error);
});

Documentation for API Endpoints

All URIs are relative to http://localhost:8500

Class Method HTTP request Description
KiabSdk.AuthApi authtoken POST /authtoken authtoken
KiabSdk.CallbacksApi dlrCallback GET /dlr-callback dlr-callback
KiabSdk.CallbacksApi moCallback GET /mo-callback mo-callback
KiabSdk.FakesmsApi fakeSMS POST /fake-sms fake-sms
KiabSdk.LogsApi logs GET /logs logs
KiabSdk.MocallbackApi dlrCallback GET /dlr-callback dlr-callback
KiabSdk.MocallbackApi moCallback GET /mo-callback mo-callback
KiabSdk.SendsmsApi sendSMS POST /send-sms send-sms
KiabSdk.StatusApi status GET /status status

Documentation for Models

Documentation for Authorization

oauth2

  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes: N/A

Readme

Keywords

none

Package Sidebar

Install

npm i kiab_sdk

Weekly Downloads

1

Version

1.0.9

License

Unlicense

Last publish

Collaborators

  • transmitsms