diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.rst | 11 |
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 | ||
372 | Versioning | ||
373 | ---------- | ||
374 | Mastodon.py will check if a certain endpoint is available before doing API | ||
375 | calls. By default, it checks against the version of Mastodon retrieved on | ||
376 | init(), or the version you specified. With these functions, you can make | ||
377 | Mastodon.py re-check the server version or explicitly determine if a | ||
378 | specific minimum Version is available. | ||
379 | |||
380 | .. automethod:: Mastodon.retrieve_mastodon_version | ||
381 | .. automethod:: Mastodon.verify_minimum_version | ||
382 | |||
372 | Reading data: Instances | 383 | Reading data: Instances |
373 | ----------------------- | 384 | ----------------------- |
374 | This function allows you to fetch information associated with the | 385 | This function allows you to fetch information associated with the |