1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
Utility: Pagination, Blurhash, Other Utilities
==============================================
.. py:module:: mastodon
:no-index:
.. py:class: Mastodon
Pagination
----------
These functions allow for convenient retrieval of paginated data.
.. _fetch_next():
.. automethod:: Mastodon.fetch_next
.. _fetch_previous():
.. automethod:: Mastodon.fetch_previous
.. _fetch_remaining():
.. automethod:: Mastodon.fetch_remaining
.. _pagination_iterator():
.. automethod:: Mastodon.pagination_iterator
.. _get_pagination_info():
.. automethod:: Mastodon.get_pagination_info
Blurhash decoding
-----------------
This function allows for easy basic decoding of blurhash strings to images.
This requires Mastodon.pys optional "blurhash" feature dependencies.
.. automethod:: Mastodon.decode_blurhash
Cache control
-------------
.. automethod:: Mastodon.clear_caches
Other utilities
---------------
.. automethod:: Mastodon.get_approx_server_time
.. _get_status_length():
.. automethod:: Mastodon.get_status_length
|