Skip to content

nathanbillis/PanoptoFolderProvisioning

Repository files navigation

Panopto Folder Provisioning

This sample demonstrates the usage of the Folders API.

Preparation

  1. You need a Panopto user account. If you don't have it, ask your organization's Panopto administrator.
  2. If you do not have Python 3 on your system, install the latest stable version from https://python.org
  3. Install external modules for this application.
pip install requests oauthlib requests_oauthlib

Setup API Client on Panopto server

See the instruction for Authorization as Server-side Web Application

Run the sample

Type the following command.

python folderProvisioning.py --server [Panopto server name] --client-id [Client ID] --client-secret [Client Secret]

This starts command line interaction of folder management, starting from the top level folder.

CSV Folders

oldName,newName
Y20xx-00xxxx,ABC00001C-A-20XX
Y20xx-00xxxx,ABC00002C-A-20XX
null-shared,null

For shared modules use null-shared,null for the role, this will ensure that it is not processed to allow manual processing.

About

Python code to speed up folder renaming and moving. Uses Panopto API (https://demo.hosted.panopto.com/Panopto/Api/Docs/index.html)

Resources

License

Stars

Watchers

Forks

Languages