<?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: Business API with Python SDK in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Business-API-with-Python-SDK/m-p/58216#M1834</link>
    <description>&lt;P&gt;Thanks so much for your help, Steve! I'm not sure what the problem was, I deleted the app &amp;amp; reset it up and everything seems to be working fine. Must've done something odd when setting up the app the first time around. Thanks again for your help troubleshooting. &lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2015 10:20:26 GMT</pubDate>
    <dc:creator>Esteban S.2</dc:creator>
    <dc:date>2015-04-28T10:20:26Z</dc:date>
    <item>
      <title>Business API with Python SDK</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Business-API-with-Python-SDK/m-p/58209#M1827</link>
      <description>&lt;P&gt;The current Python SDK does not appear to support the Business API; are there any good resources for app integration with the Dropbox for Business API?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:43:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Business-API-with-Python-SDK/m-p/58209#M1827</guid>
      <dc:creator>Esteban S.2</dc:creator>
      <dc:date>2019-05-29T09:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Business API with Python SDK</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Business-API-with-Python-SDK/m-p/58210#M1828</link>
      <description>&lt;P&gt;That's correct, the Python SDK isn't built for the Dropbox for Business API (only the Core API), but I'll be sure to pass this along as feedback. Right now, the Dropbox for Business API is just meant to be consumed using an HTTP client, but the Python SDK is open source, so you can modify it if/as desired.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2015 06:00:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Business-API-with-Python-SDK/m-p/58210#M1828</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-04-28T06:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Business API with Python SDK</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Business-API-with-Python-SDK/m-p/58211#M1829</link>
      <description>&lt;P&gt;Here's a little sample to help you get going. This code reads all the events for the team via the event log. (It uses the Python &lt;CODE&gt;requests&lt;/CODE&gt; library.)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;params = {}
while True:
    response = requests.post('https://api.dropbox.com/1/team/log/get_events', headers={
        'Authorization': 'Bearer %s' % access_token,
        'Content-Type': 'application/json'
    }, data=json.dumps(params)).json()

    for event in response['events']:
        print event # (or do something more useful)

    params['cursor'] = response['cursor']

    if not response['has_more']:
        print 'Sleeping...'
        time.sleep(10)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Apr 2015 06:29:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Business-API-with-Python-SDK/m-p/58211#M1829</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2015-04-28T06:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Business API with Python SDK</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Business-API-with-Python-SDK/m-p/58212#M1830</link>
      <description>&lt;P&gt;Thanks for the code snippet.&lt;/P&gt;

&lt;P&gt;To clarify, is the access token here the same as the access token generated either on the app console or through passing in the app key/app secret to the dropbox client, then authorizing the given url? I have not been been able to make any specific dropbox for business API calls using that token (the token works perfectly for Core API calls); for example, the request below returns a 403 'App does not have access to this endpoint'. The app is set to have 'team member file access'.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2015 07:59:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Business-API-with-Python-SDK/m-p/58212#M1830</guid>
      <dc:creator>Esteban S.2</dc:creator>
      <dc:date>2015-04-28T07:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Business API with Python SDK</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Business-API-with-Python-SDK/m-p/58213#M1831</link>
      <description>&lt;P&gt;Yes, it's the access token you got from the app console or by authorizing an actual user (a Dropbox for Business team admin, in this case).&lt;/P&gt;

&lt;P&gt;To access this endpoint, though, you do need "team auditing" permission. See &lt;A href="https://www.dropbox.com/developers/business/docs#log-get-events" rel="nofollow noreferrer"&gt;https://www.dropbox.com/developers/business/docs#log-get-events&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2015 08:26:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Business-API-with-Python-SDK/m-p/58213#M1831</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2015-04-28T08:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Business API with Python SDK</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Business-API-with-Python-SDK/m-p/58214#M1832</link>
      <description>&lt;P&gt;Thanks, Steve. It looked to me like team auditing permission was bundled with file access; the description next to that permission level reads: "Team information and auditing, plus the ability to perform any action as any team member". Is there some other step needed to get access to the right permissions to access the business api endpoints?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2015 08:29:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Business-API-with-Python-SDK/m-p/58214#M1832</guid>
      <dc:creator>Esteban S.2</dc:creator>
      <dc:date>2015-04-28T08:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Business API with Python SDK</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Business-API-with-Python-SDK/m-p/58215#M1833</link>
      <description>&lt;P&gt;Oh, sorry! You're right.&lt;/P&gt;

&lt;P&gt;My only guess is that you're not using an access token from the right app? Double check that the app permission is what you think it is and that you generated a token for the right app.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2015 09:24:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Business-API-with-Python-SDK/m-p/58215#M1833</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2015-04-28T09:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Business API with Python SDK</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Business-API-with-Python-SDK/m-p/58216#M1834</link>
      <description>&lt;P&gt;Thanks so much for your help, Steve! I'm not sure what the problem was, I deleted the app &amp;amp; reset it up and everything seems to be working fine. Must've done something odd when setting up the app the first time around. Thanks again for your help troubleshooting. &lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2015 10:20:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Business-API-with-Python-SDK/m-p/58216#M1834</guid>
      <dc:creator>Esteban S.2</dc:creator>
      <dc:date>2015-04-28T10:20:26Z</dc:date>
    </item>
  </channel>
</rss>

