From f864bea4e501202b16885304ba298a5a9812d0bb Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Mon, 30 Jul 2018 15:35:36 +0200 Subject: Document hashtag history dicts --- docs/index.rst | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'docs') 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 { 'name': # Hashtag name (not including the #) 'url': # Hashtag URL (can be remote) + 'history': # List of usage history dicts for up to 7 days. Not present in statuses. } - + +Hashtag usage history dicts +~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.. _hashtag usage history dict: + +.. code-block:: python + + { + 'day': # Date of the day this history dict is for + 'uses': # Number of statuses using this hashtag on that day + 'accounts': # Number of accounts using this hashtag in at least one status on that day + } + Emoji dicts ~~~~~~~~~~~ .. _emoji dict: -- cgit v1.2.3