Add information about unauthenticated methods

This commit is contained in:
Lorenz Diener 2017-12-13 18:45:28 +01:00
pare 7d2f244126
commit c9cc873714

Veure arxiu

@ -306,6 +306,8 @@ class Mastodon:
"""
Retrieve basic information about the instance, including the URI and administrative contact email.
Does not require authentication.
Returns an `instance dict`_.
"""
return self.__instance()
@ -413,6 +415,8 @@ class Mastodon:
"""
Fetch information about a single toot.
Does not require authentication for publicly visible statuses.
Returns a `toot dict`_.
"""
id = self.__unpack_id(id)
@ -425,6 +429,8 @@ class Mastodon:
Fetch a card associated with a status. A card describes an object (such as an
external video or link) embedded into a status.
Does not require authentication for publicly visible statuses.
Returns a `card dict`_.
"""
id = self.__unpack_id(id)
@ -436,6 +442,8 @@ class Mastodon:
"""
Fetch information about ancestors and descendants of a toot.
Does not require authentication for publicly visible statuses.
Returns a `context dict`_.
"""
id = self.__unpack_id(id)
@ -447,6 +455,8 @@ class Mastodon:
"""
Fetch a list of users that have reblogged a status.
Does not require authentication for publicly visible statuses.
Returns a list of `user dicts`_.
"""
id = self.__unpack_id(id)
@ -458,6 +468,8 @@ class Mastodon:
"""
Fetch a list of users that have favourited a status.
Does not require authentication for publicly visible statuses.
Returns a list of `user dicts`_.
"""
id = self.__unpack_id(id)
@ -736,6 +748,8 @@ class Mastodon:
"""
Fetch the list of custom emoji the instance has installed.
Does not require authentication.
Returns a list of `emoji dicts`_.
"""