/panopto-api-python-examples

Panopto REST API Examples with Python 3

Primary LanguagePythonApache License 2.0Apache-2.0

Panopto REST API Examples with Python 3

This repository includes examples that demonstrate how Panopto's REST API can be used with Python 3.

Warning

Those samples do not necessarily implement complete error handling or retry logic. As the best practice, you should have both proper error handling and reasonable retry logic in production code.

Capture traffic

It is useful to capture the actual network traffic with a capture tool, like Fiddler on Windows or Charles on Mac, and examine it. The samples in repository generally accept --skip-verify option for that purpose, so that they ignore the SSL certificate replaced by such tool and continue to run.

An issue with urllib3

This method does not work with the latest Python urllib3 library as of 2022-07-09, version 1.26.10. As a workaround, you may install the older version of urllib3 by the following commandline.

pip install --upgrade urllib3==1.25.11

References

License

Copyright 2019 Panopto

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.