From f55ff45393182659fa61196771d77b871d886b2c Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Fri, 15 Dec 2017 20:26:25 +0100 Subject: Prepare release, part 2 --- mastodon/Mastodon.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mastodon') 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: elif major == self.mastodon_major and minor == self.mastodon_minor and patch > self.mastodon_patch: return False return True + + def get_supported_version(self): + """ + Retrieve the maximum version of Mastodon supported by this version of Mastodon.py + """ + return __SUPPORTED_MASTODON_VERSION def auth_request_url(self, client_id=None, redirect_uris="urn:ietf:wg:oauth:2.0:oob", scopes=['read', 'write', 'follow']): -- cgit v1.2.3