arvan-client
A python SDK for ArvanCloud API
VOD
from vod.vod import VOD
vod = VOD('MY API KEY')
channels = vod.get_channels()
channel = next(filter(lambda t: t.description == 'my channels', channels))
video = vod.get_videos(channel, "video name, a key word, etc")
To add video from url:
vod.add_video(channel, "video title", video_url = "URL TO VIDEO")
To add video from file:
uploaded_file_id = vod.request_upload(channel, "PATH TO FILE")
vod.add_video(channel, "video title", file_id=uploaded_file_id)
Release files for arvan-client 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| arvan_client-0.0.6.tar.gz | 5.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arvan_client-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.8 kB
Release files / arvan_client-0.0.6.tar.gz
| Download URL | arvan_client-0.0.6.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd5fe45d2067c4b264de1d134ed1c8d0ccc58a81e07c48a79d6162b070910958
|
|
BLAKE2b-256 checksum How to use checksums |
75321736bed0776299cc5bfaf7222b718079b73e3594b87d68a5efe3fcb42649
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / arvan_client-0.0.6-py3-none-any.whl
| Download URL | arvan_client-0.0.6-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b48e7ac23dd318cd29fcaa16dc880f18b7400259a66064568fe95424019c64e0
|
|
BLAKE2b-256 checksum How to use checksums |
efb889514cbc74812b1974fd0badf9843641d758f73cbf7b483ddc25f50b129a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|