Prepare release, part 2

This commit is contained in:
Lorenz Diener 2017-12-15 20:26:25 +01:00
pare 64d59fed3d
commit f55ff45393
S'han modificat 2 arxius amb 7 adicions i 1 eliminacions

Veure arxiu

@ -35,7 +35,7 @@ Mastodon.py
mastodon.toot('Tooting from python using #mastodonpy !')
Python wrapper for the Mastodon ( https://github.com/tootsuite/mastodon/ ) API.
Feature complete for public API as of Mastodon version 2.0.0 and easy to get started with.
Feature complete for public API as of Mastodon version 2.1.0 and easy to get started with.
You can install Mastodon.py via pypi:

Veure arxiu

@ -254,6 +254,12 @@ class Mastodon:
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']):
"""Returns the url that a client needs to request the grant from the server.