plesk-api-js
v1.0.0
Published
JavaScript client for plesk api.
Downloads
1
Readme
Plesk API for JavaScript
Simple JavaScript client for Plesk XML-RPC API.
Installing
$ npm install --save plesk-api-js
Usage
const request = require('plesk-api-js').api({
url: {
host: 'my-plesk-host.com',
},
credentials: {
login: 'admin',
password: 'changeme',
},
});
request('webspace.get', {
filter: {},
dataset: {
hosting: {},
},
})
.then((result) => {
console.log(result)
});
More examples can be found in the examples folder.