aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2017-12-11 14:41:15 +0100
committerLorenz Diener <[email protected]>2017-12-11 14:41:15 +0100
commit15b32257faa2b96eb5190eb99a902afd5e41d01e (patch)
tree7dd62589dc56211ac1f93a03d8c85638c942ab4f
parentfad615b8d6abb5b6c7a7576483650bd9bf341897 (diff)
downloadmastodon.py-15b32257faa2b96eb5190eb99a902afd5e41d01e.tar.gz
Document versioning
-rw-r--r--docs/index.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst
index fa021d2..1813f2b 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -369,6 +369,17 @@ is specified, Mastodon.py defaults to https.
369.. automethod:: Mastodon.log_in 369.. automethod:: Mastodon.log_in
370.. automethod:: Mastodon.auth_request_url 370.. automethod:: Mastodon.auth_request_url
371 371
372Versioning
373----------
374Mastodon.py will check if a certain endpoint is available before doing API
375calls. By default, it checks against the version of Mastodon retrieved on
376init(), or the version you specified. With these functions, you can make
377Mastodon.py re-check the server version or explicitly determine if a
378specific minimum Version is available.
379
380.. automethod:: Mastodon.retrieve_mastodon_version
381.. automethod:: Mastodon.verify_minimum_version
382
372Reading data: Instances 383Reading data: Instances
373----------------------- 384-----------------------
374This function allows you to fetch information associated with the 385This function allows you to fetch information associated with the
Powered by cgit v1.2.3 (git 2.41.0)