Skip to content

raishid/pyfembed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Upload with Api Fembed

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages