aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2017-12-15 20:26:25 +0100
committerLorenz Diener <[email protected]>2017-12-15 20:26:25 +0100
commitf55ff45393182659fa61196771d77b871d886b2c (patch)
tree8eafe0ffb45405f9ebacebc3269748bd28f31470 /mastodon/Mastodon.py
parent64d59fed3da3c75558576e35807dfce6ef5cce36 (diff)
downloadmastodon.py-f55ff45393182659fa61196771d77b871d886b2c.tar.gz
Prepare release, part 2
Diffstat (limited to 'mastodon/Mastodon.py')
-rw-r--r--mastodon/Mastodon.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 4500583..5080b2e 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -253,6 +253,12 @@ class Mastodon:
253 elif major == self.mastodon_major and minor == self.mastodon_minor and patch > self.mastodon_patch: 253 elif major == self.mastodon_major and minor == self.mastodon_minor and patch > self.mastodon_patch:
254 return False 254 return False
255 return True 255 return True
256
257 def get_supported_version(self):
258 """
259 Retrieve the maximum version of Mastodon supported by this version of Mastodon.py
260 """
261 return __SUPPORTED_MASTODON_VERSION
256 262
257 def auth_request_url(self, client_id=None, redirect_uris="urn:ietf:wg:oauth:2.0:oob", 263 def auth_request_url(self, client_id=None, redirect_uris="urn:ietf:wg:oauth:2.0:oob",
258 scopes=['read', 'write', 'follow']): 264 scopes=['read', 'write', 'follow']):
Powered by cgit v1.2.3 (git 2.41.0)