diff options
author | Lorenz Diener <[email protected]> | 2019-05-08 18:08:11 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-05-08 18:08:11 +0200 |
commit | 08d808e2ace017ace45c4043ef9b414333051810 (patch) | |
tree | f13c01df5e987601c5f1dbbea4923155ccd2a039 | |
parent | 6a1b00dc9c30cb1d265d11b9a0278ce72eb839fe (diff) | |
download | mastodon.py-08d808e2ace017ace45c4043ef9b414333051810.tar.gz |
Bump Mastodon version in some places
-rw-r--r-- | README.rst | 2 | ||||
-rw-r--r-- | docs/index.rst | 5 | ||||
-rw-r--r-- | mastodon/Mastodon.py | 2 |
3 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,7 @@ | |||
1 | Mastodon.py | 1 | Mastodon.py |
2 | =========== | 2 | =========== |
3 | Python wrapper for the Mastodon ( https://github.com/tootsuite/mastodon/ ) API. | 3 | Python wrapper for the Mastodon ( https://github.com/tootsuite/mastodon/ ) API. |
4 | Feature complete for public API as of Mastodon version 2.8.0 and easy to get started with: | 4 | Feature complete for public API as of Mastodon version 2.8.2 and easy to get started with: |
5 | 5 | ||
6 | .. code-block:: python | 6 | .. code-block:: python |
7 | 7 | ||
diff --git a/docs/index.rst b/docs/index.rst index 637e771..b5b1ea5 100644 --- a/docs/index.rst +++ b/docs/index.rst | |||
@@ -54,9 +54,10 @@ node running Mastodon by setting `api_base_url` when creating the | |||
54 | api object (or creating an app). | 54 | api object (or creating an app). |
55 | 55 | ||
56 | Mastodon.py aims to implement the complete public Mastodon API. As | 56 | Mastodon.py aims to implement the complete public Mastodon API. As |
57 | of this time, it is feature complete for Mastodon version 2.8.0. Pleromas | 57 | of this time, it is feature complete for Mastodon version 2.8.2. Pleromas |
58 | Mastodon API layer, while not an official target, should also be basically | 58 | Mastodon API layer, while not an official target, should also be basically |
59 | compatible. | 59 | compatible, and Mastodon.py does make some allowances for behaviour that isn't |
60 | strictly like Mastodons. | ||
60 | 61 | ||
61 | A note about rate limits | 62 | A note about rate limits |
62 | ------------------------ | 63 | ------------------------ |
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 34e6552..fd8df1b 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -154,7 +154,7 @@ class Mastodon: | |||
154 | } | 154 | } |
155 | __VALID_SCOPES = ['read', 'write', 'follow', 'push'] + __SCOPE_SETS['read'] + __SCOPE_SETS['write'] | 155 | __VALID_SCOPES = ['read', 'write', 'follow', 'push'] + __SCOPE_SETS['read'] + __SCOPE_SETS['write'] |
156 | 156 | ||
157 | __SUPPORTED_MASTODON_VERSION = "2.4.3" | 157 | __SUPPORTED_MASTODON_VERSION = "2.8.2" |
158 | 158 | ||
159 | # Dict versions | 159 | # Dict versions |
160 | __DICT_VERSION_APPLICATION = "2.7.2" | 160 | __DICT_VERSION_APPLICATION = "2.7.2" |