Metadata-Version: 2.1
Name: vdocipher.py
Version: 0.2.0
Summary: Just a VdoCipher api wrapper for python.
Home-page: https://github.com/puzzlsoftwarehouse/vdocipher.py
Author: Puzzl Software House
Author-email: hello@puzzl.com.br
License: MIT License
Keywords: vdocipher video api python wrapper
Platform: UNKNOWN
Description-Content-Type: text/markdown
Requires-Dist: dataclasses-json
Requires-Dist: requests-toolbelt
Provides-Extra: dev
Requires-Dist: pytest ; extra == 'dev'
Requires-Dist: twine ; extra == 'dev'
Requires-Dist: wheel ; extra == 'dev'

# vdocipher.py
Just a VdoCipher api wrapper for python.

Installing
--------

```shell script 
$ pip install vdocipher.py
```    

Using
--------

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



```

Contribute
--------
Your contribute is welcome.

Setup your development environment:
```shell script
$ git clone https://github.com/puzzlsoftwarehouse/vdocipher.py.git
$ cd vdocipher.py
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install .[dev]
```   





