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