Prepare release, part 2
This commit is contained in:
pare
64d59fed3d
commit
f55ff45393
S'han modificat 2 arxius amb 7 adicions i 1 eliminacions
|
@ -35,7 +35,7 @@ Mastodon.py
|
||||||
mastodon.toot('Tooting from python using #mastodonpy !')
|
mastodon.toot('Tooting from python using #mastodonpy !')
|
||||||
|
|
||||||
Python wrapper for the Mastodon ( https://github.com/tootsuite/mastodon/ ) API.
|
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:
|
You can install Mastodon.py via pypi:
|
||||||
|
|
||||||
|
|
|
@ -254,6 +254,12 @@ class Mastodon:
|
||||||
return False
|
return False
|
||||||
return True
|
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",
|
def auth_request_url(self, client_id=None, redirect_uris="urn:ietf:wg:oauth:2.0:oob",
|
||||||
scopes=['read', 'write', 'follow']):
|
scopes=['read', 'write', 'follow']):
|
||||||
"""Returns the url that a client needs to request the grant from the server.
|
"""Returns the url that a client needs to request the grant from the server.
|
||||||
|
|
Loading…
Referencia en una nova incidència