0.1.1 • Published 9 months ago

guacamole-api v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

guacamole-api

This is a simple package that allows easier access to Apache Guacamole and its rest api.

Inspired heavily from the python guacamole-api-wrapper, but in typescript.

Also referencing this Unofficial Documentation.

:warning: Not heavily tested.

Install

npm i guacamole-api

Basic Usage

import Guacamole from 'guacamole-api';

// Authenticates with user/pass and keeps a token for subsequent calls
const session = await Guacamole.session({
	host: 'http://10.0.1.100:8080/guacamole',
	datasource: 'mysql',
	username: 'guacadmin',
	password: 'guacadmin',
});

// users is typed!
const users = await session.list_users();
0.1.1

9 months ago

0.0.5

9 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago