1.0.3 • Published 3 years ago

transmitsms_sdk v1.0.3

Weekly downloads
1
License
Unlicense
Repository
-
Last release
3 years ago

transmitsms_sdk

TransmitsmsSdk - JavaScript client for transmitsms_sdk all current transmitsms api available in the api docs 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 transmitsms_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 TransmitsmsSdk = require('transmitsms_sdk');

var defaultClient = TransmitsmsSdk.ApiClient.instance;

// Configure HTTP basic authorization: c51ed49bcbec114ad42239009538e8ff
var c51ed49bcbec114ad42239009538e8ff = defaultClient.authentications['c51ed49bcbec114ad42239009538e8ff'];
c51ed49bcbec114ad42239009538e8ff.username = 'YOUR USERNAME'
c51ed49bcbec114ad42239009538e8ff.password = 'YOUR PASSWORD'

var api = new TransmitsmsSdk.NumbersApi()

var opts = { 
  'filter': "filter_example", // {String} 
  'page': 3.4, // {Number} 
  'max': 3.4 // {Number} 
};
api.getNumbers(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://api.stage.aws.burstage.com

ClassMethodHTTP requestDescription
TransmitsmsSdk.NumbersApigetNumbersGET /get-numbers.jsonget_numbers
TransmitsmsSdk.NumbersApigetSenderIdsGET /get-sender-ids.jsonget_sender_ids
TransmitsmsSdk.SMSApigetSmsResponsesGET /get-sms-responses.jsonget_sms_responses
TransmitsmsSdk.SMSApigetSmsStatsGET /get-sms-stats.jsonget_sms_stats
TransmitsmsSdk.SMSApisendSmsGET /send-sms.jsonsend_sms

Documentation for Models

Documentation for Authorization

c51ed49bcbec114ad42239009538e8ff

  • Type: HTTP basic authentication
1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago