1.0.3 • Published 4 years ago
proxmoxconnection v1.0.3
ProxmoxConnection.js
A JavaScript class to work with the Proxmox API from the browser or a node.js application.
What is this?
Managing Proxmox is hard, working with it's API? Even harder! This package should make things a little easier :-)
Usage
This package is published to NPM so installing it is simple as running npm i proxmoxconnection
from your prefered shell.
const { ProxmoxConnection } = require('proxmoxconnection');
require('proxmoxconnection').ProxmoxConnection;
const proxmoxConnection = new ProxmoxConnection(
"https://my.proxmox.host.local:8006/",
"root",
"password",
"pam"
);
proxmoxConnection.generateTicket();
proxmoxConnection.HttpPost(
'/nodes/proxmox/lxc/100/status/reboot',
'');
Contributing
This project is still in early stages. You can help by Opening an issue or by contributing patches through a merge request.