aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-07-30 15:35:36 +0200
committerLorenz Diener <[email protected]>2018-07-30 15:35:36 +0200
commitf864bea4e501202b16885304ba298a5a9812d0bb (patch)
tree7c124b018f0c2d19d4a52c2f6b3c63c65db597f5 /docs
parentd3594572bbde704585d94cda06ae1c8deac0bf8b (diff)
downloadmastodon.py-f864bea4e501202b16885304ba298a5a9812d0bb.tar.gz
Document hashtag history dicts
Diffstat (limited to 'docs')
-rw-r--r--docs/index.rst15
1 files changed, 14 insertions, 1 deletions
diff --git a/docs/index.rst b/docs/index.rst
index ae2eedb..c82b691 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -299,8 +299,21 @@ Hashtag dicts
299 { 299 {
300 'name': # Hashtag name (not including the #) 300 'name': # Hashtag name (not including the #)
301 'url': # Hashtag URL (can be remote) 301 'url': # Hashtag URL (can be remote)
302 'history': # List of usage history dicts for up to 7 days. Not present in statuses.
302 } 303 }
303 304
305Hashtag usage history dicts
306~~~~~~~~~~~~~~~~~~~~~~~~~~~
307.. _hashtag usage history dict:
308
309.. code-block:: python
310
311 {
312 'day': # Date of the day this history dict is for
313 'uses': # Number of statuses using this hashtag on that day
314 'accounts': # Number of accounts using this hashtag in at least one status on that day
315 }
316
304Emoji dicts 317Emoji dicts
305~~~~~~~~~~~ 318~~~~~~~~~~~
306.. _emoji dict: 319.. _emoji dict:
Powered by cgit v1.2.3 (git 2.41.0)