1.4.5 • Published 4 years ago

xmlmc v1.4.5

Weekly downloads
53
License
ISC
Repository
github
Last release
4 years ago

xmlmc-js

A javascript wrapper for the Supportworks XMLMC API. To use run

npm install xmlmc
import { XmlMethodCall } = from 'xmlmc';

Usage

The package is isomorphic. To use with webpack or browserify, just require it in your script as you normally would. To use it in a strictly browser environment, just use the minified code in dist/browser. The code will support browsers

= firefox 52 and IE 10 / node >= 6.10

import { XmlMethodCall } from 'xmlmc'
const xmlmc = new XmlMethodCall('https://devserver.local');
xmlmc.session.analystLogon('admin', btoa('password')).then(() => {
    ...
}).catch(promiseCatcher)

function promiseCatcher(e) {
    console.log(e);
}

Or use async/await

await xmlmc.session.analystLogon('admin',btoa('password'))

View the full docs here

Tested on all major browsers with great thanks to BrowserStack

Browser Stack

1.4.5

4 years ago

1.4.4

4 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.3.5

5 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago