We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fb4f243 + 4839aad commit 8359675Copy full SHA for 8359675
README.rst
@@ -128,13 +128,20 @@ Create subfolder
128
# creates folder structure /L1/L2/L3
129
client.folder(folder_id='0').create_subfolder('L1').create_subfolder('L2').create_subfolder('L3')
130
131
-Get shared link
132
-~~~~~~~~~~~~~~~
+Get shared link (file or folder)
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
133
134
.. code-block:: python
135
136
shared_link = client.folder(folder_id='SOME_FOLDER_ID').get_shared_link()
137
138
+Get shared link direct download URL (files only)
139
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
140
+
141
+.. code-block:: python
142
143
+ download_url = client.file(file_id='SOME_FILE_ID').get_shared_link_download_url()
144
145
Get file name
146
~~~~~~~~~~~~~~~
147
0 commit comments