I decided to share what I came up with, it's available here: https://github.com/csawyerYumaed/pyguacamole
It lets you see if a user exists, adds a connection and a user and gives permissions to a user to use said connection. Tested once against Guacamole 1.3.0, python 3.6.9 and requests v2.25.1 On Thu, Apr 29, 2021 at 9:25 PM Navneet Singh <[email protected]> wrote: > > Thank you Peter. > > > > Looking forward to your examples. > > > > From: Peter De Tender <[email protected]> > Reply-To: <[email protected]> > Date: Thursday, April 29, 2021 at 1:25 PM > To: "[email protected]" <[email protected]>, > "[email protected]" <[email protected]> > Subject: Re: rest api > > > > I'm using Rest API to create users, connections and some other base settings. > > I'll share some examples later tonight or tomorrow, > > Thanks Peter > > Get Outlook for Android > > > > ________________________________ > > From: Nick Couchman <[email protected]> > Sent: Thursday, April 29, 2021 2:57:17 PM > To: [email protected] <[email protected]>; > [email protected] <[email protected]> > Subject: Re: rest api > > > > There are a few examples lurking about. Someone has written a PowerShell > extension that's been posted to the list in a couple of different places. > I've written a really small sample of Python code: > > > > https://github.com/necouchman/guacamole-python > > > > We are working on trying to document the REST API a little bit better - until > we have that completed, the best place to go is to the Developer Console in > the web browser, specifically the "Network" section. If you follow the calls > made while browsing around the UI and doing things there (creating, updating, > and deleting, users, groups, connections, adjusting permissions, etc.) you > can see all of the various REST calls that are made. > > > > If you have specific questions or run into issues, feel free to post back > here and ask them. > > > > -Nick > > > > On Wed, Apr 28, 2021 at 6:30 PM J. Christopher Little > <[email protected]> wrote: > > Are there any examples lying around for using the guacamole api in python (or > really any scripting language)? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
