transxt2
v1.0.0
Published
Connect TransXT Platform via API
Downloads
2
Maintainers
Readme
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
})