<?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 Dropbox Team in python?? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Team-in-python/m-p/600479#M27899</link>
    <description>&lt;P&gt;I am trying to create a python file that will download some files automatically, but my account is a business team account and I cannot connect it, I have informed myself what I have been able to and all the forums tell me:&lt;/P&gt;
&lt;P&gt;if you're using a "Dropbox API" app, your code should look like:&lt;BR /&gt;dbx = dropbox.Dropbox(_dropbox_token)&lt;/P&gt;
&lt;P&gt;dbx.files_list_folder()&lt;BR /&gt;if you're using a "Dropbox Business API" app, your code should look like:&lt;BR /&gt;dbx = dropbox.DropboxTeam(_dropbox_token)&lt;BR /&gt;dbx.files_list_folder()&lt;/P&gt;
&lt;P&gt;I have tried this system and it does not work. I have tried to look for more options and I do not find anything, please can you help me.&lt;BR /&gt;The error is the following:&lt;BR /&gt;AttributeError: 'DropboxTeam' object has no attribute 'files_list_folder'&lt;/P&gt;</description>
    <pubDate>Tue, 31 May 2022 17:33:43 GMT</pubDate>
    <dc:creator>alexiscastillodj</dc:creator>
    <dc:date>2022-05-31T17:33:43Z</dc:date>
    <item>
      <title>Dropbox Team in python??</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Team-in-python/m-p/600479#M27899</link>
      <description>&lt;P&gt;I am trying to create a python file that will download some files automatically, but my account is a business team account and I cannot connect it, I have informed myself what I have been able to and all the forums tell me:&lt;/P&gt;
&lt;P&gt;if you're using a "Dropbox API" app, your code should look like:&lt;BR /&gt;dbx = dropbox.Dropbox(_dropbox_token)&lt;/P&gt;
&lt;P&gt;dbx.files_list_folder()&lt;BR /&gt;if you're using a "Dropbox Business API" app, your code should look like:&lt;BR /&gt;dbx = dropbox.DropboxTeam(_dropbox_token)&lt;BR /&gt;dbx.files_list_folder()&lt;/P&gt;
&lt;P&gt;I have tried this system and it does not work. I have tried to look for more options and I do not find anything, please can you help me.&lt;BR /&gt;The error is the following:&lt;BR /&gt;AttributeError: 'DropboxTeam' object has no attribute 'files_list_folder'&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 17:33:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Team-in-python/m-p/600479#M27899</guid>
      <dc:creator>alexiscastillodj</dc:creator>
      <dc:date>2022-05-31T17:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Team in python??</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Team-in-python/m-p/600547#M27900</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1495708"&gt;@alexiscastillodj&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Instead of suspicious advises from unofficial places you can read &lt;A title="dropbox.dropbox – Dropbox" href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html" target="_blank" rel="noopener"&gt;the official documentation&lt;/A&gt;. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt; Isn't it?&lt;/P&gt;&lt;P&gt;About teams: Have you identified particular team member before try to make files access using either &lt;EM&gt;as_user()&lt;/EM&gt; or &lt;EM&gt;as_admin()&lt;/EM&gt; methods? &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;Hope this gives direction.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 13:40:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Team-in-python/m-p/600547#M27900</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-05-31T13:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox Team in python??</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Team-in-python/m-p/600556#M27901</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1495708"&gt;@alexiscastillodj&lt;/a&gt; Yes, as Здравко said, you can find information about these types and methods in &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/" target="_self"&gt;the documentation for the Python SDK&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Specifically, &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.files_list_folder" target="_self"&gt;the files_list_folder method&lt;/A&gt; is only available on &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox" target="_self"&gt;the Dropbox type&lt;/A&gt;, so you'll need a Dropbox instance to call that. Attempting to call that on &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.DropboxTeam" target="_self"&gt;DropboxTeam&lt;/A&gt; won't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that you can use &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.__init__" target="_self"&gt;the dropbox.Dropbox constructor&lt;/A&gt; for both Business and non-Business accounts as long as you have a user-linked access token (e.g., an access token without any "team" scopes). That works the same way for both account types.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do have a team-linked access token (e.g., an access token with any "team" scopes), you will need to use &lt;A href="http://3843390768%20https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.DropboxTeam.__init__" target="_self"&gt;the DropboxTeam constructor&lt;/A&gt; first, and then use &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.DropboxTeam.as_admin" target="_self"&gt;as_admin&lt;/A&gt; or &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.DropboxTeam.as_user" target="_self"&gt;as_user&lt;/A&gt; to get a Dropbox instance, which you can then use to call files_list_folder.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 14:30:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Team-in-python/m-p/600556#M27901</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-05-31T14:30:05Z</dc:date>
    </item>
  </channel>
</rss>

