npm.io
1.0.0 • Published 5 years ago

transxt2

Licence
TransXT
Version
1.0.0
Deps
19
Size
18 kB
Vulns
15
Weekly
0

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

})

Keywords