<?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 Export all files/folders on a given dropbox.com account to CSV in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Export-all-files-folders-on-a-given-dropbox-com-account-to-CSV/m-p/320780#M18899</link>
    <description>I am working on a CLI app that will use a team admin token to export the entire data structure (including team folders, shared folders and members' personal folders) on a given dropbox.com account.&lt;BR /&gt;&lt;BR /&gt;I am using Python SDK and getting duplicated entries. That is, when I list team folders, I get the list of all team folders, then I list each member's root folders and I get their personal folders along with shared folders and team folders that were listed previously when I first listed the team folders.&lt;BR /&gt;&lt;BR /&gt;How would I get a unique listing of files/folders? I've read about user's root and team space but I wouldn't know whether team is sharing a team space.</description>
    <pubDate>Wed, 29 May 2019 09:08:35 GMT</pubDate>
    <dc:creator>rk90</dc:creator>
    <dc:date>2019-05-29T09:08:35Z</dc:date>
    <item>
      <title>Export all files/folders on a given dropbox.com account to CSV</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Export-all-files-folders-on-a-given-dropbox-com-account-to-CSV/m-p/320780#M18899</link>
      <description>I am working on a CLI app that will use a team admin token to export the entire data structure (including team folders, shared folders and members' personal folders) on a given dropbox.com account.&lt;BR /&gt;&lt;BR /&gt;I am using Python SDK and getting duplicated entries. That is, when I list team folders, I get the list of all team folders, then I list each member's root folders and I get their personal folders along with shared folders and team folders that were listed previously when I first listed the team folders.&lt;BR /&gt;&lt;BR /&gt;How would I get a unique listing of files/folders? I've read about user's root and team space but I wouldn't know whether team is sharing a team space.</description>
      <pubDate>Wed, 29 May 2019 09:08:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Export-all-files-folders-on-a-given-dropbox-com-account-to-CSV/m-p/320780#M18899</guid>
      <dc:creator>rk90</dc:creator>
      <dc:date>2019-05-29T09:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Export all files/folders on a given dropbox.com account to CSV</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Export-all-files-folders-on-a-given-dropbox-com-account-to-CSV/m-p/320829#M18902</link>
      <description>&lt;P&gt;To de-duplicate these entries, you should use the namespace ID for each shared/team folder. I.e., the "shared folder ID" or "team folder ID". These IDs will be consistent across user accounts, even if the path of the folder is not.&lt;/P&gt;
&lt;P&gt;You can determine if a user is on a team that uses the "team space" by checking the &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/users.html#dropbox.users.FullAccount.root_info" target="_self"&gt;FullAccount.root_info&lt;/A&gt;&amp;nbsp;returned by &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html?highlight=get_current_account#dropbox.dropbox.Dropbox.users_get_current_account" target="_self"&gt;users_get_current_account&lt;/A&gt;. You can check if the type of the &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/common.html#dropbox.common.RootInfo" target="_self"&gt;RootInfo&lt;/A&gt;&amp;nbsp;is a&amp;nbsp;&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/common.html#dropbox.common.TeamRootInfo" target="_blank"&gt;TeamRootInfo&lt;/A&gt; or a&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/common.html#dropbox.common.UserRootInfo" target="_blank"&gt;UserRootInfo&lt;/A&gt;. Check out those links for more information on that.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I also&amp;nbsp;recommend reviewing &lt;A href="https://www.dropbox.com/developers/reference/namespace-guide" target="_blank"&gt;the Namespace Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/reference/content-access-guide" target="_self"&gt;Content Access Guide&lt;/A&gt; for more information, if you haven't already.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 15:55:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Export-all-files-folders-on-a-given-dropbox-com-account-to-CSV/m-p/320829#M18902</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-01-02T15:55:16Z</dc:date>
    </item>
  </channel>
</rss>

