Just a VdoCipher api wrapper for python.
Project description
vdocipher.py
Just a VdoCipher api wrapper for python.
Installing
$ pip install vdocipher.py
Using
import vdocipher
# First, we need to authenticate our api
vdocipher.authenticate('VDOCIPHER_API_SECRET')
# Examples:
# obtaining a list of videos
videos = vdocipher.Video().get_list()
# uploading a video
new_video = vdocipher.Video(title='title').upload('file')
# obtaining a video
video = vdocipher.Video(id=1).get()
# removing a video
vdocipher.Video(id=1).delete()
# obtaining OTP
otp = OTP().create(videoid='your_video_id')
# or
otp = Video(title='test video').upload('file').create_otp()
Installing dev requirements
$ git clone https://github.com/puzzlsoftwarehouse/vdocipher.py.git
$ cd vdocipher.py
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install .[dev]
build and publish
$ python setup.py sdist bdist_wheel
$ twine upload -r pypi dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vdocipher.py-0.3.0.tar.gz
(5.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vdocipher.py-0.3.0.tar.gz.
File metadata
- Download URL: vdocipher.py-0.3.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
261bc2b0b6ac61b9427ae37487095f9eb5313bc6f5f37baeeba20d095ef587a6
|
|
| MD5 |
5c6d5f3f8f5b38bea1a7f22f588e0456
|
|
| BLAKE2b-256 |
90548bff51b81d1254019ad96f200c54f18cda4e182d4577ee9b054b712e79f4
|
File details
Details for the file vdocipher.py-0.3.0-py3-none-any.whl.
File metadata
- Download URL: vdocipher.py-0.3.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
698bc24c730e7190ab3f9f2403db6bbe435943e4611f261541ea3b3aaaca1912
|
|
| MD5 |
1e5f13e0d3310ee8890b67b34c738d95
|
|
| BLAKE2b-256 |
9275b5fa46c0757ec0aa8c3f208b46bb541b0a73dbe0024157c99f87f5894e9a
|