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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

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

Hashes for pyfembed-0.1.6.tar.gz
Algorithm Hash digest
SHA256 c627ece0e9c08f384ae5938d909c190455c34269e17d1b8f33a51330e84f4714
MD5 935d0d7b3c6b336035d67284c7ca6d07
BLAKE2b-256 62bf26f4401215d65540d74786fe4d1e30f58d474977dc41dbb1586155cfb670

See more details on using hashes here.

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

Hashes for pyfembed-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 07efe84fc7fe6024a9ba76117161e590376ba62626b75c50e597ebe22c753be5
MD5 38364a3372c3aec8b947e2b022c123ac
BLAKE2b-256 a5dec4b83ada2988b91a47e946b406edcc2c36904d683b605a4327f038a0b551

See more details on using hashes here.

Supported by

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