diff options
author | Erin Congden <[email protected]> | 2017-04-02 20:20:38 -0700 |
---|---|---|
committer | Erin Congden <[email protected]> | 2017-04-02 21:52:41 -0700 |
commit | 36781699c135b3a4cd89973ef2f5079f123a0567 (patch) | |
tree | ae9c47d2e6d9d09ebf59b18e383f9f50c31710fa /docs | |
parent | 9eaf955bfc8bda2a2e114721347f9b2ccf06b055 (diff) | |
download | mastodon.py-36781699c135b3a4cd89973ef2f5079f123a0567.tar.gz |
Add (un)muting accounts and reading mutes/blocks
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.rst | 11 |
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 | ||
144 | Notification dicts | 145 | Notification 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 | ||
242 | Reading data: Mutes and blocks | ||
243 | ------------------------------ | ||
244 | These functions allow you to get information about accounts that are | ||
245 | muted or blocked by the logged in user. | ||
246 | |||
247 | .. automethod:: Mastodon.mutes | ||
248 | .. automethod:: Mastodon.blocks | ||
249 | |||
241 | Writing data: Statuses | 250 | Writing data: Statuses |
242 | ---------------------- | 251 | ---------------------- |
243 | These functions allow you to post statuses to Mastodon and to | 252 | These 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 | ||
264 | Writing data: Media | 275 | Writing data: Media |
265 | ------------------- | 276 | ------------------- |