Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,20 @@ Create subfolder
# creates folder structure /L1/L2/L3
client.folder(folder_id='0').create_subfolder('L1').create_subfolder('L2').create_subfolder('L3')

Get shared link
~~~~~~~~~~~~~~~
Get shared link (file or folder)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: python

shared_link = client.folder(folder_id='SOME_FOLDER_ID').get_shared_link()

Get shared link direct download URL (files only)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: python

download_url = client.file(file_id='SOME_FILE_ID').get_shared_link_download_url()

Get file name
~~~~~~~~~~~~~~~

Expand Down