filestack-python¶
This is the official Python SDK for Filestack - API and content management system that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application.
from filestack import Client
cli = Client('<FILESTACK APIKEY>')
filelink = cli.upload(filepath='/path/to/image.jpg')
print(filelink.url) # => 'https://cdn.filestackcontent.com/<FILE_HANDLE>'