aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/index.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst
index fe92636..da670b1 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -340,6 +340,18 @@ Card dicts
340 'provider_url': # URL pointing to the embeds provider 340 'provider_url': # URL pointing to the embeds provider
341 } 341 }
342 342
343Search result dicts
344~~~~~~~~~~~~~~~~~~~
345.. code-block:: python
346
347 mastodon.search(...)
348 # Returns the folowing dictionary
349 {
350 'accounts': # List of account dicts resulting from the query
351 'hashtags': # List of hashtag dicts resulting from the query
352 'statuses': # List of toot dicts resulting from the query
353 }
354
343Instance dicts 355Instance dicts
344~~~~~~~~~~~~~~ 356~~~~~~~~~~~~~~
345.. code-block:: python 357.. code-block:: python
Powered by cgit v1.2.3 (git 2.41.0)