Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 693 Bytes

installation.rst

File metadata and controls

29 lines (15 loc) · 693 Bytes

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 :class:`filestack.Client` with your Filestack API Key and use the :py:meth:`upload()` method:

from filestack import Client

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

Proceed :doc:`uploading_files` to section to learn more about file uploaing options.