Rough async Python implementation of the Dropbox HTTP API using aiohttp. Primarily created to speed up large batch upload/download tasks, which are heavily bottlenecked by the official Python library's synchronous requests.
Check out example.py for a simple use case which downloads some files, modifies them and re-uploads them.
Below is a list of implemented endpoints and their corresponding methods in the AsyncDropboxAPI class.
| Endpoint | Method name |
|---|---|
| /check/user | validate |
| /download | download_file |
| /download_zip | download_folder |
| /get_shared_link_file | download_shared_link |
| /upload | upload_single |
| /upload_session/start | upload_start |
| /upload_session/finish_batch, /upload_session/finish_batch/check | upload_finish* |
| /create_shared_link_with_settings | create_shared_link |
| /get_shared_link_metadata | get_shared_link_metadata |
* Batch job completion is checked automatically.