Skip to content

Mist-Automation-Programmability/guest_grabber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Guest Grabber

Get all currently authorized guest accounts from a specified Mist site via API

Python

Installation

This script was tested using Python 3.9.0 but should run just fine on 3.6.x. You should update just in case.

Clone this repo and then install the dependencies listed in the requirements.txt file using package manager pip.

pip install -r requirements.txt

Then set the required configuration values in guest_grabber.py.

The required values are:

  • API_TOKEN - Create API token from /api/v1/self/apitokens or /api/v1/orgs/:org_id/apitokens to generate a token if you do not already have one
  • ORG_ID - The Organization ID for the org

Usage

From a terminal, simply run the script by entering the command below.

python guest_grabber.py

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages