1.0.3 • Published 3 years ago

transxt v1.0.3

Weekly downloads
-
License
TransXT
Repository
-
Last release
3 years ago

TransXT Node SDK

Official nodejs library for TransXT API.

Installation

npm i transxt

Documentation

Basic Usage

Instantiate the TransXT instance with username & password. You can obtain the username and password from the TransXT Platform(web portal)

Refer documentation link https://documenter.getpostman.com/view/9342792/T1LMhn7a#e559ba8e-586d-4f61-bb0d-fda90b757208

let url = "API_URL";

let environment = "UAT";  // UAT , PROD

let option = {
    username : "XXXXX",
    password : "XXXXX",
}

let payload = "API_PAYLOAD"

const transXT = require("transxt");

transXT.execute(payload, url, environment,option).then((response) => {

    // handle success
    
}).catch((error) => {

    // handle error

})