diff options
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index b57a16b..3cf889a 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -207,13 +207,13 @@ class Mastodon: | |||
207 | return response['access_token'] | 207 | return response['access_token'] |
208 | 208 | ||
209 | ### | 209 | ### |
210 | # Reading data: Instance | 210 | # Reading data: Instances |
211 | ### | 211 | ### |
212 | def instance(self): | 212 | def instance(self): |
213 | """ | 213 | """ |
214 | Retrieve basic information about the instance, including the URI and administrative contact email. | 214 | Retrieve basic information about the instance, including the URI and administrative contact email. |
215 | 215 | ||
216 | Returns a dict. | 216 | Returns an instance dict. |
217 | """ | 217 | """ |
218 | return self.__api_request('GET', '/api/v1/instance/') | 218 | return self.__api_request('GET', '/api/v1/instance/') |
219 | 219 | ||
@@ -656,7 +656,7 @@ class Mastodon: | |||
656 | ### | 656 | ### |
657 | def report(self, account_id, status_ids, comment): | 657 | def report(self, account_id, status_ids, comment): |
658 | """ | 658 | """ |
659 | Report a user to the admin. | 659 | Report statuses to the instances administrators. |
660 | 660 | ||
661 | Accepts a list of toot IDs associated with the report, and a comment. | 661 | Accepts a list of toot IDs associated with the report, and a comment. |
662 | 662 | ||