aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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)