Upload video with the Fembed API
Project description
Pyfembed
Script to upload Videos to Fembed via API
Requeriments
Python >=3.6
Usage
pip install pyfembed
import pyfembed import Pyfembed
pyfembed = Pyfembed(client_id, client_secret)
upload_url = pyfembed.get_upload_url()
uploaded = pyfembed.upload(
file_path=filepath,
url_upload=upload_url.data.url,
token=upload_url.data.token
)
video_id = pyfembed.get_video_id(uploaded['fingerprint'])
And ready, the file is uploaded to share
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
pyfembed-0.1.6.tar.gz
(3.9 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 pyfembed-0.1.6.tar.gz.
File metadata
- Download URL: pyfembed-0.1.6.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c627ece0e9c08f384ae5938d909c190455c34269e17d1b8f33a51330e84f4714
|
|
| MD5 |
935d0d7b3c6b336035d67284c7ca6d07
|
|
| BLAKE2b-256 |
62bf26f4401215d65540d74786fe4d1e30f58d474977dc41dbb1586155cfb670
|
File details
Details for the file pyfembed-0.1.6-py3-none-any.whl.
File metadata
- Download URL: pyfembed-0.1.6-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07efe84fc7fe6024a9ba76117161e590376ba62626b75c50e597ebe22c753be5
|
|
| MD5 |
38364a3372c3aec8b947e2b022c123ac
|
|
| BLAKE2b-256 |
a5dec4b83ada2988b91a47e946b406edcc2c36904d683b605a4327f038a0b551
|