Bump supported version in docs, code to 2.2.0

This commit is contained in:
Lorenz Diener 2018-01-29 14:26:05 +01:00
pare be014bb88a
commit c1a6772247
S'han modificat 2 arxius amb 3 adicions i 3 eliminacions

Veure arxiu

@ -46,7 +46,7 @@ node running Mastodon by setting `api_base_url` when creating the
api object (or creating an app). api object (or creating an app).
Mastodon.py aims to implement the complete public Mastodon API. As Mastodon.py aims to implement the complete public Mastodon API. As
of this time, it is feature complete for Mastodon version 2.1.0. of this time, it is feature complete for Mastodon version 2.2.0.
A note about rate limits A note about rate limits
------------------------ ------------------------
@ -674,7 +674,7 @@ Writing data: Lists
------------------- -------------------
These functions allow you to create, maintain and delete lists. These functions allow you to create, maintain and delete lists.
When creating lists, note that (As of Mastodon 2.1.0), a user can only When creating lists, note that a user can only
have a maximum of 50 lists. have a maximum of 50 lists.
.. automethod:: Mastodon.list_create .. automethod:: Mastodon.list_create

Veure arxiu

@ -89,7 +89,7 @@ class Mastodon:
""" """
__DEFAULT_BASE_URL = 'https://mastodon.social' __DEFAULT_BASE_URL = 'https://mastodon.social'
__DEFAULT_TIMEOUT = 300 __DEFAULT_TIMEOUT = 300
__SUPPORTED_MASTODON_VERSION = "2.1.2" __SUPPORTED_MASTODON_VERSION = "2.2.0"
### ###
# Registering apps # Registering apps