<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Python API for Dropbox in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131720#M3866</link>
    <description>&lt;P&gt;Another one on the Python API or perhaps needs the HTTP API.&lt;/P&gt;
&lt;P&gt;The remote folders need to be stored in a sub folder. it would be most convenient to allow the app initiating the share to move the remote account's folder.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is this functionality supported?&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
    <pubDate>Sat, 06 Feb 2016 19:51:46 GMT</pubDate>
    <dc:creator>Peter D.51</dc:creator>
    <dc:date>2016-02-06T19:51:46Z</dc:date>
    <item>
      <title>Python API for Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131717#M3863</link>
      <description>&lt;P&gt;Trying to produce a Python script to manipulate sharing of folders between Dropbox accounts.&amp;nbsp; The Tutorial is not present, and the APIs doe not seem to provide a mechanism to build a Members data structure to provide to the sharing classes.&lt;/P&gt;
&lt;P&gt;a suitable example or pointer to appropriate documentation would be most useful&lt;/P&gt;
&lt;P&gt;thank you&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:36:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131717#M3863</guid>
      <dc:creator>Peter D.51</dc:creator>
      <dc:date>2019-05-29T09:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Python API for Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131718#M3864</link>
      <description>&lt;P&gt;Here is a brief sample with the functionality that you want:&lt;/P&gt;
&lt;PRE&gt;import sys&lt;BR /&gt;import dropbox&lt;BR /&gt;&lt;BR /&gt;print 'Running'&lt;BR /&gt;&lt;BR /&gt;dbx = dropbox.Dropbox('&amp;lt;GENERATED ACCESS TOKEN FROM MY APPS PAGE&amp;gt;')&lt;BR /&gt;curr_account = dbx.users_get_current_account()&lt;BR /&gt;&lt;BR /&gt;shared_folder_name = '&amp;lt;SHARED FOLDER NAME&amp;gt;'&lt;BR /&gt;&lt;BR /&gt;# Create a shared folder&lt;BR /&gt;launch = dbx.sharing_share_folder('/' + shared_folder_name)&lt;BR /&gt;&lt;BR /&gt;if not launch.is_complete():&lt;BR /&gt; print 'Shared folder creation failed, exiting'&lt;BR /&gt; sys.exit(-1)&lt;BR /&gt;&lt;BR /&gt;meta_data = launch.get_complete()&lt;BR /&gt;member_select = dropbox.sharing.MemberSelector.email('&amp;lt;INVITEE EMAIL&amp;gt;')&lt;BR /&gt;access_level = dropbox.sharing.AccessLevel.editor&lt;BR /&gt;add_member = dropbox.sharing.AddMember(member_select, access_level)&lt;BR /&gt;&lt;BR /&gt;dbx.sharing_add_folder_member(meta_data.shared_folder_id, [add_member], &lt;BR /&gt; custom_message="&amp;lt;CUSTOM EMAIL MESSAGE&amp;gt;")&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Feb 2016 06:04:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131718#M3864</guid>
      <dc:creator>Stephen C.14</dc:creator>
      <dc:date>2016-02-04T06:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Python API for Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131719#M3865</link>
      <description>thanks,
that worked fine, and should help me put the rest of the documentation into context.
all the best
Peter</description>
      <pubDate>Fri, 05 Feb 2016 00:14:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131719#M3865</guid>
      <dc:creator>Peter D.51</dc:creator>
      <dc:date>2016-02-05T00:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Python API for Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131720#M3866</link>
      <description>&lt;P&gt;Another one on the Python API or perhaps needs the HTTP API.&lt;/P&gt;
&lt;P&gt;The remote folders need to be stored in a sub folder. it would be most convenient to allow the app initiating the share to move the remote account's folder.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is this functionality supported?&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2016 19:51:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131720#M3866</guid>
      <dc:creator>Peter D.51</dc:creator>
      <dc:date>2016-02-06T19:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Python API for Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131721#M3867</link>
      <description>&lt;P&gt;No, your app would need to be authorized to the other user's account to perform a move operation there.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 02:36:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131721#M3867</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-02-10T02:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Python API for Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131722#M3868</link>
      <description>&lt;P&gt;Hi Gregory,&lt;/P&gt;
&lt;P&gt;I understand that the connection to the account would need to be authorised, that is not a problem as both the initiator of the request and the target client are connected, it is not a general purpose application.&lt;/P&gt;
&lt;P&gt;Can the initiator of the request talk directly to the target user account to perform the action so the folder is moved without the target user needing to perform any action?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 04:33:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131722#M3868</guid>
      <dc:creator>Peter D.51</dc:creator>
      <dc:date>2016-02-10T04:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Python API for Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131723#M3869</link>
      <description>&lt;P&gt;I'm not sure I follow what you mean, but if your app has access tokens for both users, the&amp;nbsp;app perform the necessary API calls in the relevant accounts programmatically, without user interaction.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 04:38:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131723#M3869</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-02-10T04:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Python API for Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131724#M3870</link>
      <description>&lt;P&gt;Hi Gregory,&lt;/P&gt;
&lt;P&gt;the aim is to have the application on a single machine manipulating a set of shared folders between a number of accounts.&lt;/P&gt;
&lt;P&gt;the application can create a shared folder with an account, is there a programmatic way to obtain permission/access token to allow the folder to be moved.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;would the application need a list of access tokens generated from a webpage logged into the dropbox account?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 06:18:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131724#M3870</guid>
      <dc:creator>Peter D.51</dc:creator>
      <dc:date>2016-02-10T06:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Python API for Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131725#M3871</link>
      <description>&lt;P&gt;There isn't a programmatic way for obtaining an access token for an account.&amp;nbsp;The user must explicitly authorize the app. Apps can store and re-use access tokens though. If your app has done this, and has an access token for the necessary accounts, then it can use the file/folder moving API call to move the shared folder as desired.&lt;/P&gt;
&lt;P&gt;Access tokens are sensitives pieces of data though and should be handled securely, since they allow access to&amp;nbsp;Dropbox accounts. So, for a web app, this is reasonably safe, since all of the access tokens would just be stored on the server and you can implement access control as necessary. However, for a client-side app, every instance of the app should only have access tokens for those local users. I.e., one user shouldn't be able to access another user's access token.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 06:24:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131725#M3871</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-02-10T06:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Python API for Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131726#M3872</link>
      <description>&lt;P&gt;Hi Gregory,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;much appreciate your assistance with this.&lt;/P&gt;
&lt;P&gt;So for a an application running on one machine linked to a dropbox account, to 'move' the shared folder of another account, the account would need to use the function on the Dropbox website (logged in as that user) to allow the named APP to have access to the account, and that key opens up the file APIs on the target machine.&lt;/P&gt;
&lt;P&gt;I think I have an angle to explore and see how practical it is.&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 06:45:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-API-for-Dropbox/m-p/131726#M3872</guid>
      <dc:creator>Peter D.51</dc:creator>
      <dc:date>2016-02-10T06:45:39Z</dc:date>
    </item>
  </channel>
</rss>

