diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst index b5b1ea5..4e95bbb 100644 --- a/docs/index.rst +++ b/docs/index.rst | |||
@@ -554,6 +554,7 @@ Media dicts | |||
554 | # rounded), and a "length" field giving a videos length in a human-readable format. | 554 | # rounded), and a "length" field giving a videos length in a human-readable format. |
555 | # Note that a video may have an image as preview. | 555 | # Note that a video may have an image as preview. |
556 | # May also contain a 'focus' dict. | 556 | # May also contain a 'focus' dict. |
557 | 'blurhash': # The blurhash for the image, used for preview / placeholder generation | ||
557 | } | 558 | } |
558 | 559 | ||
559 | # Metadata dicts (image) - all fields are optional: | 560 | # Metadata dicts (image) - all fields are optional: |
@@ -1067,6 +1068,12 @@ These functions allow for convenient retrieval of paginated data. | |||
1067 | .. automethod:: Mastodon.fetch_previous | 1068 | .. automethod:: Mastodon.fetch_previous |
1068 | .. automethod:: Mastodon.fetch_remaining | 1069 | .. automethod:: Mastodon.fetch_remaining |
1069 | 1070 | ||
1071 | Blurhash decoding | ||
1072 | ----------------- | ||
1073 | This function allows for easy basic decoding of blurhash strings to images. | ||
1074 | |||
1075 | .. automethod:: Mastodon.decode_blurhash | ||
1076 | |||
1070 | Streaming | 1077 | Streaming |
1071 | --------- | 1078 | --------- |
1072 | These functions allow access to the streaming API. | 1079 | These functions allow access to the streaming API. |