aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mastodon/Mastodon.py')
-rw-r--r--mastodon/Mastodon.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index c84ac6a..4551cbf 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -966,6 +966,15 @@ class Mastodon:
966 """ 966 """
967 return self.__api_request('GET', '/api/v1/accounts/verify_credentials') 967 return self.__api_request('GET', '/api/v1/accounts/verify_credentials')
968 968
969 @api_version("1.0.0", "2.1.0", __DICT_VERSION_ACCOUNT)
970 def me(self):
971 """
972 Get this users account. Symonym for `account_verify_credentials()`, does exactly
973 the same thing, just exists becase `account_verify_credentials()` has a confusing
974 name.
975 """
976 return self.account_verify_credentials()
977
969 @api_version("1.0.0", "2.7.0", __DICT_VERSION_STATUS) 978 @api_version("1.0.0", "2.7.0", __DICT_VERSION_STATUS)
970 def account_statuses(self, id, only_media=False, pinned=False, exclude_replies=False, max_id=None, min_id=None, since_id=None, limit=None): 979 def account_statuses(self, id, only_media=False, pinned=False, exclude_replies=False, max_id=None, min_id=None, since_id=None, limit=None):
971 """ 980 """
Powered by cgit v1.2.3 (git 2.41.0)