Installation & QuickstartΒΆ

filestack-python can be installed from PyPI:

$ pip install filestack-python

or directly from GitHub:

$ pip install git+https://github.com/filestack/filestack-python.git

To upload a file, all you need to do is to create an instance of filestack.Client with your Filestack API Key and use the upload() method:

1
2
3
4
from filestack import Client

cli = Client('<FILESTACK_APIKEY>')
filelink = cli.upload(filepath='path/to/video.mp4')

Proceed Uploading files to section to learn more about file uploaing options.