https://github.com/openfun/videofront-client
Videofront client library and CLI utilities
https://github.com/openfun/videofront-client
Last synced: 3 months ago
JSON representation
Videofront client library and CLI utilities
- Host: GitHub
- URL: https://github.com/openfun/videofront-client
- Owner: openfun
- Created: 2016-08-04T14:16:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-29T11:46:36.000Z (over 9 years ago)
- Last Synced: 2025-04-09T22:34:34.701Z (about 1 year ago)
- Language: Python
- Size: 10.7 KB
- Stars: 1
- Watchers: 14
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Videofront client
This is a client for Videofront
## Install
pip install -e https://github.com/openfun/videofront-client.git@master#egg=videofront-client
## Usage
Obtain an authentication token:
videofront-getauthtoken --host=http://videofront.myhost.com --username=myusername --password=mypassword
The remote host and authentication tokens may be stored in environment variables for shorter CLI:
export VIDEOFRONT_HOST=http://videofront.myhost.com
export VIDEOFRONT_TOKEN=myauthenticationtoken
Create a playlist:
videofront-createplaylist myplaylistname
Search existing playlists:
videofront-searchplaylists myplaylistname
Delete a playlist:
videofront-deleteplaylists myplaylistname
Upload a video, optionally to a playlist:
videofront-uploadvideo --playlist=playlist_id /path/to/my/video.mp4
Delete a video:
videofront-deletevideo myvideoid