aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErin Congden <[email protected]>2017-04-02 20:20:38 -0700
committerErin Congden <[email protected]>2017-04-02 21:52:41 -0700
commit36781699c135b3a4cd89973ef2f5079f123a0567 (patch)
treeae9c47d2e6d9d09ebf59b18e383f9f50c31710fa /docs/index.rst
parent9eaf955bfc8bda2a2e114721347f9b2ccf06b055 (diff)
downloadmastodon.py-36781699c135b3a4cd89973ef2f5079f123a0567.tar.gz
Add (un)muting accounts and reading mutes/blocks
Diffstat (limited to 'docs/index.rst')
-rw-r--r--docs/index.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 90e8478..f9915e6 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -139,6 +139,7 @@ Relationship dicts
139 'following': Boolean denoting whether you follow them 139 'following': Boolean denoting whether you follow them
140 'id': Numerical id (same one as <numerical id>) 140 'id': Numerical id (same one as <numerical id>)
141 'blocking': Boolean denoting whether you are blocking them 141 'blocking': Boolean denoting whether you are blocking them
142 'muting': Boolean denoting whether you are muting them
142 } 143 }
143 144
144Notification dicts 145Notification dicts
@@ -238,6 +239,14 @@ their relationships.
238.. automethod:: Mastodon.account_relationships 239.. automethod:: Mastodon.account_relationships
239.. automethod:: Mastodon.account_search 240.. automethod:: Mastodon.account_search
240 241
242Reading data: Mutes and blocks
243------------------------------
244These functions allow you to get information about accounts that are
245muted or blocked by the logged in user.
246
247.. automethod:: Mastodon.mutes
248.. automethod:: Mastodon.blocks
249
241Writing data: Statuses 250Writing data: Statuses
242---------------------- 251----------------------
243These functions allow you to post statuses to Mastodon and to 252These functions allow you to post statuses to Mastodon and to
@@ -260,6 +269,8 @@ These functions allow you to interact with other accounts: To (un)follow and
260.. automethod:: Mastodon.account_unfollow 269.. automethod:: Mastodon.account_unfollow
261.. automethod:: Mastodon.account_block 270.. automethod:: Mastodon.account_block
262.. automethod:: Mastodon.account_unblock 271.. automethod:: Mastodon.account_unblock
272.. automethod:: Mastodon.account_mute
273.. automethod:: Mastodon.account_unmute
263 274
264Writing data: Media 275Writing data: Media
265------------------- 276-------------------
Powered by cgit v1.2.3 (git 2.41.0)