Panopto API

I’m learning how to use the Panopto API. The trouble is that there seems to be a lot of technical resource, and a few people that seem to be a dab hand, but no middle ground.

I’m hoping to fill that gap. Any questions let me know in the comments.

In these examples I’m going to be using Visual Studio 2010 using C# as the language. I have ReSharper on my computer, just in case any of the colours or tooltips look slightly different. I’ve tried using PHP, but the ease of communicating with Panopto in C# is so large compared to PHP, I’d recommend switching.

/*
Mediaguy.co.uk’s Panopto API code samples are free software: you can redistribute
it and/or modify it under the terms of the GNU General Public License as published
by the Free Software Foundation, either version 3 of the License, or (at your option)
any later version.

Mediaguy.co.uk’s Panopto API code samples are distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
Mediaguy.co.uk’s Panopto API code samples. If not, see <http://www.gnu.org/licenses/>.
*/

Index

001: Connecting to the server

002: Adding all web services

003: Security

004: Authenticating with an identity provider

 

100: Starting code – The upcoming pages will need you to create a new console application with the following code

101: Getting folders

102: Searching for folders and getting IDs from folder names

103: Organise course folders into subfolders

104: Adding group permissions to the parent folders

201: Getting sessions

202: User details and session details

203: Looping through more than one page

204: Renaming videos older than a set retention date

205: Moving sessions into a folder

301: Creating users and groups from AD (improved in 401)

 

400: Starting code – From this point on I’m using a C# aspx website for the API. I’ve not done much aspx so a lot of the web code is poor, you should take this into account.
The code is available from https://github.com/mediaguycouk/WebPanoptoAPI

401: Creating users and groups from AD

2 Comments

  1. Peter

    Hi Graham, hope you are well…

    We are hoping to show a ‘recording light’ and add a pause button through our crestron touch panel. Do you guys have this? The marketed lights / buttons are £100 a pop, an intergrated solution would significantly help our budget (although we will still purchase some fixed lights).

    I you have 5, it would be interesting to learn how you have managed the intergration…

    1 year ago
  2. Peter

    Hi Graham – hope you are well.

    We are looking to intergrate the recording light features into our Crestron control systems. Is this something you have done? At £100 a pop, if we could reduce the number we needed to purchase this would help our budgets!

    If I coulf grad 5 minutes of your time to better understand how you have managed and rolled out this intergration if would be appreciated…

    Apologies if you have received this twice…

    1 year ago

Leave a Reply

Your email address will not be published. Required fields are marked *