Skip to content

xiva-wgt/PyMailCloud

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyMailCloud

Unofficial python library for making API requests to [email protected]

Supported methods

PyMailCloud(login, password)

Creates PyMailCloud object or raises an exception if login and password are incorrect, or internet connection is failed.

PyMailCloud.get_folder_contents(folder)

folder - folder path relative to cloud home

Returns some strange internal mail.ru JSON object containing folder contents.

PyMailCloud.get_public_link(filename)

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.

PyMailCloud.remove_public_link(weblink)

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.

About

Unofficial python library for making API requests to [email protected]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%