Unofficial python library for making API requests to [email protected]
Creates PyMailCloud object or raises an exception if login and password are incorrect, or internet connection is failed.
folder - folder path relative to cloud home
Returns some strange internal mail.ru JSON object containing folder contents.
filename - file path relative to cloud home
Returns full public URL of file (looks like "https://cloud.mail.ru/public/\<id>/<filename>"), or rises an exception in case of error.
weblink - file path relative to cloud home
Deletes public file link by its weblink, which can be full ("http(s)://cloud.mail.ru/public/<id>/<filename>") or short (just "<id>/<filename>")
Rises an exception in case of error.