Skip to main content

Upload video with the Fembed API

Project description

Pyfembed

License: MIT

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)

Uploaded Source

Built Distribution

pyfembed-0.1.6-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

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