<?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 Betreff: Dropbox-Upload mit Python (API v2) in Eine Frage stellen</title>
    <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/601645#M14915</link>
    <description>&lt;P&gt;Ja, genau.&amp;nbsp; - So ist es richtig. Token generieren und abspeichern. Man kann ihn später nicht mehr auf der Web-Seite einsehen. Wenn er verloren geht, kannst du dir einen neuen generieren.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jun 2022 21:02:16 GMT</pubDate>
    <dc:creator>Holzauge20</dc:creator>
    <dc:date>2022-06-06T21:02:16Z</dc:date>
    <item>
      <title>Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/591192#M14790</link>
      <description>&lt;P&gt;Der Dropbox-Upload per Python-Script Datei mit demRaspberry Pi über die Schnittstelle API v2 funktioniert plötzlich nicht mehr.&lt;/P&gt;&lt;P&gt;Hat jemand das gleiche Problem ?&lt;/P&gt;</description>
      <pubDate>Sun, 17 Apr 2022 09:16:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/591192#M14790</guid>
      <dc:creator>Holzauge20</dc:creator>
      <dc:date>2022-04-17T09:16:53Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/591251#M14791</link>
      <description>&lt;P&gt;Ich glaube, dass Sie da besser aufgehoben sind:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropboxforum.com/t5/Developer-API/ct-p/101000041" target="_blank"&gt;https://www.dropboxforum.com/t5/Developer-API/ct-p/101000041&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Apr 2022 18:58:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/591251#M14791</guid>
      <dc:creator>ernstMreicher58</dc:creator>
      <dc:date>2022-04-17T18:58:14Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/591480#M14792</link>
      <description>&lt;P&gt;Vielen Dank für den Link. Ich konnte dort die Lösung für mein Problem finden.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 21:36:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/591480#M14792</guid>
      <dc:creator>Holzauge20</dc:creator>
      <dc:date>2022-04-18T21:36:08Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/601568#M14909</link>
      <description>&lt;P&gt;Hi! ist vielleicht eine komische Frage, aber würde es ihnen etwas ausmachen ihr script zu teilen? Ich versuche seit längerer Zeit schon einen code zu schreiben der von meinem raspberry pi dateien auf dropbox hochlädt, bekomme es aber leider nicht hin. Würde mir wirklich helfen!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 14:46:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/601568#M14909</guid>
      <dc:creator>EibeGrabung</dc:creator>
      <dc:date>2022-06-06T14:46:52Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/601622#M14911</link>
      <description>&lt;P&gt;Hallo und guten Abend,&lt;/P&gt;&lt;P&gt;für den Dropbox-Upload von meinem Raspberrypi benutze ich folgendes script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#0000FF"&gt;#!/usr/bin/python3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#0000FF"&gt;import dropbox&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#0000FF"&gt;db = dropbox.Dropbox('nnnnn')&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; # nnnnn = hier den token eingeben!&amp;nbsp;&lt;/FONT&gt;&lt;FONT size="2" color="#0000FF"&gt;&amp;nbsp; Anführungsstriche nicht weglassen!!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#0000FF"&gt;fname = 'nnnnn.nn' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Name der hochzuladenden lokalen Datei&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#0000FF"&gt;xname = '/nnnnn.nnn' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; # Name der Datei in Dropbox&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#0000FF"&gt;f = open(fname, 'rb')&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; # Datei öffnen&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#0000FF"&gt;response = db.files_upload(f.read(), xname) &amp;nbsp; &amp;nbsp;&amp;nbsp; # Datei hochladen&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#0000FF"&gt;print('uploaded:', response)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#0000FF"&gt;f.close() &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; #&amp;nbsp; Datei schließen&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;Ich hoffe, ich konnte Dir weiterhelfen.&lt;BR /&gt;Und viel Spaß beim Basteln und programmieren.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 19:08:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/601622#M14911</guid>
      <dc:creator>Holzauge20</dc:creator>
      <dc:date>2022-06-06T19:08:11Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/601625#M14912</link>
      <description>&lt;P&gt;Hi, erstmal vielen Dank für deine rasche Antwort! Der Access token läuft ja eigentlich nach ca 4 stunden ab, ist das bei diesem script auch so? danke nochmal!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Grüße!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 19:29:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/601625#M14912</guid>
      <dc:creator>EibeGrabung</dc:creator>
      <dc:date>2022-06-06T19:29:20Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/601634#M14913</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hallo,&lt;/P&gt;&lt;P&gt;die Sache mit dem Access-token-Ablauf nach 4 Stunden ist ein ganz anderer Film. Das hat irgendwas mit der ioBroker-Sicherung in Dropbox zu tun. Das wird ja nicht Dein Ding sein. Ich nutzte meinen token schon seit Jahren; der läuft nicht ab. Das würde ja auch keinen Sinn machen. Also: keine Panik. Gehe die Sache ganz ruhig an. Generiere Dir zunächst den token und teste dann aus, ob der Upload funktioniert.&lt;/P&gt;&lt;P&gt;Viele Grüße&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 20:23:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/601634#M14913</guid>
      <dc:creator>Holzauge20</dc:creator>
      <dc:date>2022-06-06T20:23:58Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/601638#M14914</link>
      <description>&lt;P&gt;Hi! Super! Also muss ich einfach nur diesen Token verwenden? Vielen Dank für deine Hilfe!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2022-06-06 um 22.31.13.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/29710iA0A6FB2DBA0A9872/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bildschirmfoto 2022-06-06 um 22.31.13.png" alt="Bildschirmfoto 2022-06-06 um 22.31.13.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 20:42:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/601638#M14914</guid>
      <dc:creator>EibeGrabung</dc:creator>
      <dc:date>2022-06-06T20:42:00Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/601645#M14915</link>
      <description>&lt;P&gt;Ja, genau.&amp;nbsp; - So ist es richtig. Token generieren und abspeichern. Man kann ihn später nicht mehr auf der Web-Seite einsehen. Wenn er verloren geht, kannst du dir einen neuen generieren.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 21:02:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/601645#M14915</guid>
      <dc:creator>Holzauge20</dc:creator>
      <dc:date>2022-06-06T21:02:16Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/601660#M14916</link>
      <description>&lt;P&gt;Ok Super! Dann probier ich das mal aus, vielen Dank!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 22:13:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/601660#M14916</guid>
      <dc:creator>EibeGrabung</dc:creator>
      <dc:date>2022-06-06T22:13:09Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/601895#M14917</link>
      <description>&lt;P&gt;Hi, sorry das ich nochmal störe. bekomme aber leider nach gewisser zeit folgende Error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unable to refresh access token without refresh token and app key&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hast du eine Idee was das Problem sein könnte?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 22:59:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/601895#M14917</guid>
      <dc:creator>EibeGrabung</dc:creator>
      <dc:date>2022-06-07T22:59:16Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602040#M14918</link>
      <description>&lt;P&gt;Irgendwas ist da schief gelaufen. Am besten, du beginnst noch mal von vorne. Ich gehe davon aus, dass du ein Dropbox-Konto hast. Dann gehe auf die developers-Seite und lösche die aktuelle App. Beginne jetzt von vorn; gehe in die App Console und dann auf "create app". Klicke „Scoped access“ und dann „App folder“ an. Gib der App einen Namen und klicke auf „create app“. Gehe jetzt auf Permissions und erteile unter Files und folders den Schreibzugriff. Jetzt wieder zurück zu Settings. Klicke auf Generated access token. Jetzt erscheint darunter das token als lange Zeichenkette. Kopiere das token auf die Anwendung in deinem Raspi. -&lt;/P&gt;&lt;P&gt;So habe ich es heute nochmals bei mir ausprobiert und es hat funktioniert. Noch ein Tipp: Du kannst die Kommunikation zwischen Raspi und Dropbox auch testen ohne eine Datei hochzuladen. Benutze folgendes script:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#!/usr/bin/python3&lt;/P&gt;&lt;P&gt;db = dropbox.Dropbox(„token“)&lt;/P&gt;&lt;P&gt;print(„Account infos: “, db.users_get_current_account())&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wenn die Kommunikation funktioniert, werden Informationen des Accounts ausgegeben, ansonsten eine Fehlermeldung.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Viel Erfolg&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 17:03:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602040#M14918</guid>
      <dc:creator>Holzauge20</dc:creator>
      <dc:date>2022-06-08T17:03:51Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602041#M14919</link>
      <description>Hi, erstmal danke für deine Geduld &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@D4CFB1987468A1318EED2A13C0B61FFB/emoticons/1f605.png" alt=":grinning_face_with_sweat:" title=":grinning_face_with_sweat:" /&gt;. Das hochladen funktioniert bei mir prinzipiell eh, jedoch nur für ca 4h, da dürfte mein access token ablaufen, läuft dein access token nicht ab, bzw. beginnt er mit „Sl“ wenn nicht dann hast du noch die alten token die vergibt dropbox leider nicht mehr. Werde es aber trotzdem nochmal mit einer neuen app versuchen &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@92306A31AEF2A5D1F481EF65AE5F74CD/emoticons/1f44d.png" alt=":thumbs_up:" title=":thumbs_up:" /&gt;&lt;BR /&gt;&lt;BR /&gt;Danke auf jedenfall!</description>
      <pubDate>Wed, 08 Jun 2022 17:11:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602041#M14919</guid>
      <dc:creator>EibeGrabung</dc:creator>
      <dc:date>2022-06-08T17:11:00Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602054#M14920</link>
      <description>&lt;P&gt;Ja, das heute generierte token beginnt mit "sl". Die 4 Stunden sind noch nicht abgelaufen.&amp;nbsp; Das alte token nutze ich schon seit vielen Jahren. Bin gespannt, was jetzt passiert.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 17:44:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602054#M14920</guid>
      <dc:creator>Holzauge20</dc:creator>
      <dc:date>2022-06-08T17:44:39Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602060#M14921</link>
      <description>&lt;P&gt;Das habe ich auf youtube gefunden:&lt;/P&gt;&lt;P&gt;"No expiration" wäre dann die Lösung.&lt;/P&gt;&lt;P&gt;Auf meiner Seite wurde diese Möglichkeit aber nicht angezeigt.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Holzauge20_0-1654711722219.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/29745i4313FC127EF056A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Holzauge20_0-1654711722219.png" alt="Holzauge20_0-1654711722219.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 18:12:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602060#M14921</guid>
      <dc:creator>Holzauge20</dc:creator>
      <dc:date>2022-06-08T18:12:40Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602062#M14922</link>
      <description>Ja genau, das ging früher mal mittlerweile haben sie diese funktion leider entfernt. Es gibt einen weg wie man mit dem „app key“ und dem „app secret“ es zum laufen bringen kann, da weiß ich aber leider nicht wie.</description>
      <pubDate>Wed, 08 Jun 2022 18:15:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602062#M14922</guid>
      <dc:creator>EibeGrabung</dc:creator>
      <dc:date>2022-06-08T18:15:32Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602103#M14923</link>
      <description>&lt;P&gt;Du hast Recht. Mein token lebte nur 4 Studen. Vermutlich wird mein altes token auch irgendwann das gleiche Schicksal teilen. Ich werde die Sache im Auge behalten. Wenn ich näheres herausbekomme melde ich mich in jedem Fall.&lt;/P&gt;&lt;P&gt;Darf ich fragen, ob du dich schon länger mit dem Rasperry pi beschäftigst und welche Projekte du verfolgst?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 21:17:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602103#M14923</guid>
      <dc:creator>Holzauge20</dc:creator>
      <dc:date>2022-06-08T21:17:31Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602194#M14925</link>
      <description>&lt;P&gt;Also habe meinen Raspberry Pi jetzt seit ca einer Woche, versuche gerade posts von instagram runterzuladen und auf dropbox hoch. Den instagram teil hab ich schon. Aber mache das nur zum spaß.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 11:34:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602194#M14925</guid>
      <dc:creator>EibeGrabung</dc:creator>
      <dc:date>2022-06-09T11:34:48Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2)</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602701#M14937</link>
      <description>&lt;P&gt;Hi, ich möchte mich nochmals kurz melden. Zwischenzeitlich habe ich mit verschiedenen scripts versucht, über den den OAuth-App-Autorisierungsablauf standardmäßige Dropbox-API-Zugriffstoken zu erhalten. Dies hat auch wunderbar funktioniert, aber auch hier handelt es sich um kurzlebige Zugriffstoken, die man schon (wie bereits von dir berichtet) an dem Präfik „sl“ erkennt. Nun habe ich begonnen, mich in die OAuth-Dokumentation einzulesen (sehr umfangreich). So wie ich das sehe, lässt sich die Sache nur per OAuth mit Aktualisierungstoken lösen. Um dies zu bewerkstelligen (vor allem, wenn der Aktualisierungsprozess automatisch ablaufen soll) wird man sich wohl tiefer in die Programmiertechnik einarbeiten müssen. Weiter bin ich noch nicht gekommen. Grüße&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jun 2022 16:05:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602701#M14937</guid>
      <dc:creator>Holzauge20</dc:creator>
      <dc:date>2022-06-12T16:05:25Z</dc:date>
    </item>
    <item>
      <title>Betreff: Dropbox-Upload mit Python (API v2) - gelöst-</title>
      <link>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602872#M14940</link>
      <description>&lt;P&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;FONT size="2"&gt;Hi, ich habe einen Lösungsweg gefunden. Erstelle zunächst eine OAuth-App-Autorisierungs-URL um einen Autorisierungscode zu erhalten. Mit Autorisierungscode, app-key und app-secret startest du dann eine „curl-Eingabe“ Die Antwort ist ein Access-Token und ein Aktualisierungs-Token. Details hat Greg-DB in diesem Forum beschrieben.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www-dropboxforum-com.translate.goog/t5/Discuss-Dropbox-Developer-API/Refresh-Tokens/td-p/590227?_x_tr_sl=en&amp;amp;_x_tr_tl=de&amp;amp;_x_tr_hl=de&amp;amp;_x_tr_pto=sc" target="_blank" rel="noopener"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;FONT size="2"&gt;https://www-dropboxforum-com.translate.goog/t5/Discuss-Dropbox-Developer-API/Refresh-Tokens/td-p/590227?_x_tr_sl=en&amp;amp;_x_tr_tl=de&amp;amp;_x_tr_hl=de&amp;amp;_x_tr_pto=sc&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;FONT size="2"&gt;Autorisierungs-URL: &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;A href="https://www.dropbox.com/oauth2/authorize?client_id=APPKEYHERE&amp;amp;response_type=code&amp;amp;token_access_type=offline" target="_blank" rel="noopener"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;FONT size="2"&gt;https://www.dropbox.com/oauth2/authorize?client_id=APPKEYHERE&amp;amp;response_type=code&amp;amp;token_access_type=offline&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;FONT size="2"&gt;curl-Eingabe:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;FONT size="2"&gt;curl &lt;A href="https://api.dropbox.com/oauth2/token" target="_blank" rel="noopener"&gt;https://api.dropbox.com/oauth2/token&lt;/A&gt; \&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;FONT size="2"&gt;-d code=AUTHORIZATIONCODE \&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;FONT size="2"&gt;-d grant_type=authorization_code \&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;FONT size="2"&gt;-u APPKEY:APPSECRET&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;FONT size="2"&gt;Nun hast du einen Aktualisierungs-Token und kannst ihn in dein script einfügen. Das kann z.B. so aussehen:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New, serif"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;SPAN&gt;import dropbox&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New, serif"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;SPAN&gt;db = dropbox.Dropbox(&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New, serif"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;SPAN&gt;app_key = &amp;lt;APP_KEY&amp;gt;,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New, serif"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;SPAN&gt;app_secret = &amp;lt;APP_SECRET&amp;gt;,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New, serif"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;SPAN&gt;oauth2_refresh_token = &amp;lt;REFRESH_TOKEN&amp;gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New, serif"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;SPAN&gt;Das Aktualisierungs-Token läuft nicht ab.&amp;nbsp; Im Hintergrund werden automatisch neue kurzlebige Zugriffstoken erzeugt. &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New, serif"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;SPAN&gt;Du musst die ganze Aktion also nur einmal machen.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New, serif"&gt;&lt;FONT size="2"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;SPAN&gt;Quelle:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT color="#000080"&gt;&lt;SPAN&gt;&lt;A href="https://stackoverflow-com.translate.goog/questions/71668845/how-to-correctly-implement-refresh-token-with-dropbox-python-sdk?_x_tr_sl=en&amp;amp;_x_tr_tl=de&amp;amp;_x_tr_hl=de&amp;amp;_x_tr_pto=sc" target="_blank" rel="noopener"&gt;&lt;FONT face="Arial, sans-serif"&gt;https://stackoverflow-com.translate.goog/questions/71668845/how-to-correctly-implement-refresh-token-with-dropbox-python-sdk?_x_tr_sl=en&amp;amp;_x_tr_tl=de&amp;amp;_x_tr_hl=de&amp;amp;_x_tr_pto=sc&lt;/FONT&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT color="#000080"&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;Ich habe das o.a Prozedere bei mir erfolgreich getestet &lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#000080"&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;und denke, dass auch dein Problem so gelöst werden kann.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#000080"&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;. &lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;FONT color="#000080"&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;- &lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#000080"&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, sans-serif"&gt;Grüße&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 14:34:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Eine-Frage-stellen/Dropbox-Upload-mit-Python-API-v2/m-p/602872#M14940</guid>
      <dc:creator>Holzauge20</dc:creator>
      <dc:date>2022-06-13T14:34:37Z</dc:date>
    </item>
  </channel>
</rss>

