AirDrive
AirDrive lets you store unlimited files to cloud for free. Upload & download files from your personal drive at any time using its super-fast API.
Installation
pip install airdrive
Import
from airdrive import AirDrive
Creating New Drive
drive = AirDrive.create(username: str, password: str)
Logging In
drive = AirDrive.login(username: str, password:str)
Methods
files
returns list of file names existing in the drivedownload(file_name: str)
downloads file from the drivedownload_all
downloads all files from the driveupload(local_file_path: str, remote_file_name: str)
uploads file to the driverename(old_file_name: str, new_file_name: str)
re-uploads file with new namecache(file_name: str)
caches a file from the drivedelete(file_name: str)
deletes file from the drive permanentlydelete_all
deletes all files from the drive permanentlydelete_account
deletes airdrive account permanently