First Revision of the fileio-wrapper
Update
- Add upload method
- Add download method
- Add me method (Check account information)
- Add list mehtod (List account item)
- Add update method (This merged two API update function 'PUT' and 'PATCH')
- Add delete method
Something Important
This package has some methods that differ slightly from the Restful API. The main differences are as follows:
- Return type: The original return is JSON, but in this package, the responses are loaded into a dictionary so that they can be used directly.
- Consistent return format: In some functions, the original API didn't return JSON. For example, the download method returns the downloaded content and the delete method returns nothing. In these cases, a fake JSON response is created and returned as a dictionary.
- Additional error handling: This package has additional error handling and tries to return a dictionary all the time.
**Full Changelog**: https://github.com/chumicat/fileio-wrapper/commits/1.0.0