Mux API
Maintained. Last release 10 days ago, commits in 2 of the last 26 weeks. Weaker on commit activity.
pip install mux-python
PyPI | Mux Docs | Mux API Reference
Mux Python
Official Mux API wrapper for python projects, supporting both Mux Data and Mux Video.
Mux Video is an API-first platform, powered by data and designed by video experts to make beautiful video possible for every development team.
Mux Data is a platform for monitoring your video streaming performance with just a few lines of code. Get in-depth quality of service analytics on web, mobile, and OTT devices.
Not familiar with Mux? Check out https://mux.com/ for more information.
Requirements
Python 2.7 or 3.4+
Compatibility with Ubuntu 14.04
Mux uses cross signed TLS root certificates, which may not be compatible with Ubuntu 14.04 LTS as documented in this issue. We suggest upgrading to a later LTS operating system if you encounter this issue.
Installation
Via pip
pip install git+https://github.com/muxinc/mux-python.git
(you may need to run pip with root permission)
Via source
git checkout https://github.com/muxinc/mux-python.git
cd mux-python
python setup.py install --user
Getting Started
Overview
Mux Python is a code generated lightweight wrapper around the Mux REST API and reflects them accurately. This has a few consequences you should watch out for:
-
For almost all API responses, the object you're looking for will be in the
datafield on the API response object, as in the example below. This is because we designed our APIs with similar concepts to the standard. This means we'll be able to return more metadata from our API calls (such as related entities) without the need to make breaking changes to our APIs. We've decided not to hide that in this library.