filestack / filestack-python

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.
https://www.filestack.com
Apache License 2.0
48 stars 20 forks source link

Feature/fs 69 delete and overwrite common #4

Closed staturecrane closed 7 years ago

staturecrane commented 7 years ago

Common Mixin

This pull request is a concatenation of tasks FS-68 and FS-69, which combined encompass the CommonMixin, as has been currently defined. Additions include using trafaret to check user input for allowed parameters, as well as type-checking their associated values. Both Client and Filelink inherit the mixin, but Client only uses its helper methods, not its "public" methods.

Many tests have been added to check for params and their values, missing security, etc on each common mixin and Client method that has been added.

Also, a basic upload and delete function has been added to show the most basic usage of the library.