wt

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2020 License: MIT Imports: 1 Imported by: 0

README

WT - Webex Tool

Note: This tool has been uploaded on request. It is some of my early Go code so please don't judge me 😬😉.

It was intended as a management utility for our webex tenant, but we have since switched over to a new SSO based tenant where this no longer works. You can use the DevNet sandbox for testing however.

This code accompanies the "Downloading Webex Recordings with Go" blog post.

Command Help

To get help with a command, you can just type wt help or wt help list or wt help download which will then provide you with a list of available parameters etc.

WebEx Tool (wt) is a tool for IT Administrators to manage their WebEx Tenant.

Usage:
wt [command]

Available Commands:
  download    Download WebEx Recordings
  help        Help about any command
  list        List WebEx Recordings
  version     Print the version number of wt

Flags:
-h, --help help for wt

Use "wt [command] --help" for more information about a command.

To list recordings for example you might type something like:

$ wt list --tenant apidemoeu --site 678910 --username myusername --password mypassword --year 2020

OR if you're an admin, you can list recordings for another user:

$ wt list --tenant apidemoeu --site 678910 --username myusername --password mypassword --userid someotherusername

Host WebExID         RecordingID      Size                 CreateTime     Name
-----------------    -----------      ----                 ----------     ----
someotherusername      181204076     2.092       03/24/2020 17:00:39     my_test_meeting-20200324 0900-1

If you use the --csv option you will get a few extra details, including the file URL.

To download recordings, rather annoyingly you actually have to specify the data center specific domain for your recordings in addition to the other details required for listing. As per the documentation you will need to obtain this from Cisco.

$ wt download --tenant apidemoeu --site 678910 --domain nln1wss1 --username myusername --password mypassword --recid 181204076

If you omit the username or password on the command line (which you should), you will be prompted for them.

Sandbox

To test out the command, you can use the DevNet Sandbox for Webex which provides a fully functioning Webex Tenant.

The WebEx Lab details provide the information required to use it such as the tenant name (e.g. apidemoeu) and site ID.

The only caveat is that to get a recording you have to use Webex Training and you will need to get the NBR domain from Cisco (I'll update here if I find it out for the sandbox).

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL