From d5bb2418a9d0707cca6bb5b31f308db8c3bf5762 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Thu, 15 Jun 2017 22:32:17 +0200 Subject: More fixes to documentation --- mastodon/Mastodon.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mastodon/Mastodon.py') diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 8eed5cd..b57a16b 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -21,7 +21,7 @@ class Mastodon: api wrapper in python. If anything is unclear, check the official API docs at - https://github.com/Gargron/mastodon/wiki/API + https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md """ __DEFAULT_BASE_URL = 'https://mastodon.social' __DEFAULT_TIMEOUT = 300 @@ -283,7 +283,8 @@ class Mastodon: def status_card(self, id): """ - Fetch a card associated with a status. + Fetch a card associated with a status. A card describes an object (such as an + external video or link) embedded into a status. Returns a card dict. """ @@ -482,6 +483,7 @@ class Mastodon: The visibility parameter is a string value and matches the visibility option on the /api/v1/status POST API endpoint. It accepts any of: + 'direct' - post will be visible only to mentioned users 'private' - post will be visible only to followers 'unlisted' - post will be public but not appear on the public timeline 'public' - post will be public -- cgit v1.2.3