<?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: How can I get the &amp;quot;Date Created&amp;quot; attribute from a file using the python SDK? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-the-quot-Date-Created-quot-attribute-from-a-file/m-p/711827#M31528</link>
    <description>&lt;P&gt;The Dropbox API/SDK doesn't return file creation dates (only modified dates), but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The "Date created", "Date taken", and "Date uploaded" values you're referring to are from metadata embedded in image, such as using Exif. Some but not all image files contain embedded image metadata like that. The Dropbox API automatically exposes some of this information, such as &lt;CODE&gt;dimensions&lt;/CODE&gt; and &lt;CODE&gt;time_taken&lt;/CODE&gt;, where available, via &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_self" rel="noreferrer noopener"&gt;the /2/files/get_metadata endpoint&lt;/A&gt;, which is &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.files_get_metadata" target="_blank"&gt;files_get_metadata&lt;/A&gt; in the Python SDK. This unfortunately doesn't include the full EXIF data though. You can find all of the metadata offered in &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_blank" rel="noreferrer noopener"&gt;the documentation&lt;/A&gt;, by expanding the relevant fields, such as by clicking on &lt;CODE&gt;FileMetadata&lt;/CODE&gt;, &lt;CODE&gt;MediaMetadata&lt;/CODE&gt;, &lt;CODE&gt;PhotoMetadata&lt;/CODE&gt; and&amp;nbsp;&lt;CODE&gt;VideoMetadata&lt;/CODE&gt;. To retrieve any other embedded image metadata not offered there, you'd need to download the image file and extract the image metadata in your code to access those fields.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Sep 2023 12:10:34 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-09-06T12:10:34Z</dc:date>
    <item>
      <title>How can I get the "Date Created" attribute from a file using the python SDK?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-the-quot-Date-Created-quot-attribute-from-a-file/m-p/711751#M31527</link>
      <description>&lt;P&gt;Using the Dropbox for Python SDK, I can see the date that the file was last modified in dropbox using the&amp;nbsp;&lt;FONT face="andale mono,times"&gt;client_modified&lt;/FONT&gt; attribute,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However when I view the "Info" tab in the dropbox web UI, i can see that there is "&lt;SPAN&gt;Date created", "Date taken", and "Date uploaded" times, which I want to use to organize my photos.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there any way to get any of these values using the Dropbox for Python SDK?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 00:12:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-the-quot-Date-Created-quot-attribute-from-a-file/m-p/711751#M31527</guid>
      <dc:creator>f21a0b091d4c42dc9775f3d4eb</dc:creator>
      <dc:date>2023-09-06T00:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the "Date Created" attribute from a file using the python SDK?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-the-quot-Date-Created-quot-attribute-from-a-file/m-p/711827#M31528</link>
      <description>&lt;P&gt;The Dropbox API/SDK doesn't return file creation dates (only modified dates), but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The "Date created", "Date taken", and "Date uploaded" values you're referring to are from metadata embedded in image, such as using Exif. Some but not all image files contain embedded image metadata like that. The Dropbox API automatically exposes some of this information, such as &lt;CODE&gt;dimensions&lt;/CODE&gt; and &lt;CODE&gt;time_taken&lt;/CODE&gt;, where available, via &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_self" rel="noreferrer noopener"&gt;the /2/files/get_metadata endpoint&lt;/A&gt;, which is &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.files_get_metadata" target="_blank"&gt;files_get_metadata&lt;/A&gt; in the Python SDK. This unfortunately doesn't include the full EXIF data though. You can find all of the metadata offered in &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_blank" rel="noreferrer noopener"&gt;the documentation&lt;/A&gt;, by expanding the relevant fields, such as by clicking on &lt;CODE&gt;FileMetadata&lt;/CODE&gt;, &lt;CODE&gt;MediaMetadata&lt;/CODE&gt;, &lt;CODE&gt;PhotoMetadata&lt;/CODE&gt; and&amp;nbsp;&lt;CODE&gt;VideoMetadata&lt;/CODE&gt;. To retrieve any other embedded image metadata not offered there, you'd need to download the image file and extract the image metadata in your code to access those fields.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 12:10:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-can-I-get-the-quot-Date-Created-quot-attribute-from-a-file/m-p/711827#M31528</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-09-06T12:10:34Z</dc:date>
    </item>
  </channel>
</rss>

