MCPcopy Index your code
hub / github.com/dropbox/dropbox-sdk-python / check_app

Method check_app

dropbox/base.py:120–140  ·  view source on GitHub ↗

This endpoint performs App Authentication, validating the supplied app key and secret, and returns the supplied string, to allow you to test your code and connection to the Dropbox API. It has no other effect. If you receive an HTTP 200 response with the supplied que

(self,
                  query='')

Source from the content-addressed store, hash-verified

118 # Routes in check namespace
119
120 def check_app(self,
121 query=''):
122 """
123 This endpoint performs App Authentication, validating the supplied app
124 key and secret, and returns the supplied string, to allow you to test
125 your code and connection to the Dropbox API. It has no other effect. If
126 you receive an HTTP 200 response with the supplied query, it indicates
127 at least part of the Dropbox API infrastructure is working and that the
128 app key and secret valid.
129
130 :param str query: The string that you'd like to be echoed back to you.
131 :rtype: :class:`dropbox.check.EchoResult`
132 """
133 arg = check.EchoArg(query)
134 r = self.request(
135 check.app,
136 'check',
137 arg,
138 None,
139 )
140 return r
141
142 def check_user(self,
143 query=''):

Callers 1

test_app_authMethod · 0.80

Calls 1

requestMethod · 0.95

Tested by 1

test_app_authMethod · 0.64