From aa1ae568e269cbbcbfb5ae906fe1b10262a86c80 Mon Sep 17 00:00:00 2001 From: Richard O'Dwyer Date: Thu, 31 Oct 2019 22:21:07 +0000 Subject: [PATCH] docs --- README.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.rst b/README.rst index 1a3327a..e2e0360 100644 --- a/README.rst +++ b/README.rst @@ -116,6 +116,15 @@ Upload a file, and get its public link m.get_upload_link(file) # see mega.py for destination and filename options +Export a file or folder +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +.. code:: python + + public_exported_web_link = m.export('myfile.doc') + public_exported_web_link = m.export('my_mega_folder/my_sub_folder_to_share') + # e.g. https://mega.nz/#F!WlVl1CbZ!M3wmhwZDENMNUJoBsdzFng + Fine a file or folder ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~