Skip to main content

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()

# search for videos
videos = vdocipher.Video().query('some_text')

# 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


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.5.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vdocipher.py-0.3.5-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file vdocipher.py-0.3.5.tar.gz.

File metadata

  • Download URL: vdocipher.py-0.3.5.tar.gz
  • Upload date:
  • Size: 5.4 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

Hashes for vdocipher.py-0.3.5.tar.gz
Algorithm Hash digest
SHA256 01b72704cb9742026f61b04f5be2b9913f61df5fdaa6ae7fcba84df805d71bcb
MD5 f50fccac7f96cc52ee5bd1904796394f
BLAKE2b-256 bc2516d3bd16f786de1bef5fa25101a2980d79b7b5f48ee4a41ad72ad59d706c

See more details on using hashes here.

File details

Details for the file vdocipher.py-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: vdocipher.py-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 7.6 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

Hashes for vdocipher.py-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f3c6da7b45366416b97e33eb2154b7b5134da5c5b2960907353beca1d66914af
MD5 9d2037f279d8e8ad8676e91837bb48a5
BLAKE2b-256 fc70993982865b712d9fffc43638b021e39a23e90379e216ad97972e4fa2c443

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page