aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2017-06-15 22:48:23 +0200
committerLorenz Diener <[email protected]>2017-06-15 22:48:23 +0200
commitb57b66ebb5dc83b2b1f7c8624d31e605eb6e6c43 (patch)
tree3bd155ed9fa930259a26c03a59316879c9178906 /mastodon
parentd5bb2418a9d0707cca6bb5b31f308db8c3bf5762 (diff)
downloadmastodon.py-b57b66ebb5dc83b2b1f7c8624d31e605eb6e6c43.tar.gz
More doc fixes, instance dictionaries
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/Mastodon.py6
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
Powered by cgit v1.2.3 (git 2.41.0)