aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/Mastodon.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 1c7b2ee..8130b2c 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -714,6 +714,19 @@ class Mastodon:
714 return self.__api_request('GET', '/api/v1/domain_blocks', params) 714 return self.__api_request('GET', '/api/v1/domain_blocks', params)
715 715
716 ### 716 ###
717 # Reading data: Emoji
718 ###
719 @api_version("2.1.0")
720 def custom_emojis(self):
721 """
722 Fetch the list of custom emoji the instance has installed.
723
724 Returns a list of emoji dicts.
725
726 """
727 return self.__api_request('GET', '/api/v1/custom_emojis')
728
729 ###
717 # Writing data: Statuses 730 # Writing data: Statuses
718 ### 731 ###
719 @api_version("1.0.0") 732 @api_version("1.0.0")
Powered by cgit v1.2.3 (git 2.41.0)