aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/Mastodon.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index d8410b3..e8d68a8 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -607,6 +607,18 @@ class Mastodon:
607 return self.__api_request('GET', '/api/v1/search', params) 607 return self.__api_request('GET', '/api/v1/search', params)
608 608
609 ### 609 ###
610 # Reading data: Lists
611 ###
612 @api_version("2.1.0")
613 def lists(self):
614 """
615 Fetch a list of all the Lists by the logged-in user.
616
617 Returns a list of list dicts.
618 """
619 return self.__api_request('GET', '/api/v1/lists')
620
621 ###
610 # Reading data: Mutes and Blocks 622 # Reading data: Mutes and Blocks
611 ### 623 ###
612 @api_version("1.1.0") 624 @api_version("1.1.0")
Powered by cgit v1.2.3 (git 2.41.0)