0.0.2 • Published 8 months ago

wticket-api v0.0.2

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

WTicket API

Contents

Description

Easy to use TypeScript package for fetching data from the WTicket Soap API

Usage

Install the wticket-api package with NPM:

npm install wticket-api

You can then use the API by importing the package, creating a client and calling a function:

import { WTicketAPI } from "wticket-api";

const { common } = new WTicketAPI({
  username: "USERNAME",
  password: "PASSWORD",
  url: "URL"
});

common.listRelations({ limit: 100 }).then(response => {
  console.log(response)
})

Requirements

This package uses fast-xml-parser and strong-soap to communicate with the Soap API

License

The wticket-api script is released under the MIT license.

0.0.2

8 months ago

0.0.1

8 months ago