From 5f792c8bd843ab0fbde01264225ebe2f03d01302 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 11 May 2019 01:00:11 +0200 Subject: [PATCH] Document blurhash --- docs/index.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/index.rst b/docs/index.rst index 9988a5f..96a0665 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -553,6 +553,7 @@ Media dicts # rounded), and a "length" field giving a videos length in a human-readable format. # Note that a video may have an image as preview. # May also contain a 'focus' dict. + 'blurhash': # The blurhash for the image, used for preview / placeholder generation } # Metadata dicts (image) - all fields are optional: @@ -1063,6 +1064,12 @@ These functions allow for convenient retrieval of paginated data. .. automethod:: Mastodon.fetch_previous .. automethod:: Mastodon.fetch_remaining +Blurhash decoding +----------------- +This function allows for easy basic decoding of blurhash strings to images. + +.. automethod:: Mastodon.decode_blurhash + Streaming --------- These functions allow access to the streaming API.