diff options
author | Lorenz Diener <[email protected]> | 2017-06-15 22:32:17 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2017-06-15 22:32:17 +0200 |
commit | d5bb2418a9d0707cca6bb5b31f308db8c3bf5762 (patch) | |
tree | 415d654bf74568fd22fb7bf732a675edf18364cf /mastodon | |
parent | 03e19e3655c04e467fce863fb9bdc75243f578b4 (diff) | |
download | mastodon.py-d5bb2418a9d0707cca6bb5b31f308db8c3bf5762.tar.gz |
More fixes to documentation
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 6 |
1 files changed, 4 insertions, 2 deletions
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: | |||
21 | api wrapper in python. | 21 | api wrapper in python. |
22 | 22 | ||
23 | If anything is unclear, check the official API docs at | 23 | If anything is unclear, check the official API docs at |
24 | https://github.com/Gargron/mastodon/wiki/API | 24 | https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md |
25 | """ | 25 | """ |
26 | __DEFAULT_BASE_URL = 'https://mastodon.social' | 26 | __DEFAULT_BASE_URL = 'https://mastodon.social' |
27 | __DEFAULT_TIMEOUT = 300 | 27 | __DEFAULT_TIMEOUT = 300 |
@@ -283,7 +283,8 @@ class Mastodon: | |||
283 | 283 | ||
284 | def status_card(self, id): | 284 | def status_card(self, id): |
285 | """ | 285 | """ |
286 | Fetch a card associated with a status. | 286 | Fetch a card associated with a status. A card describes an object (such as an |
287 | external video or link) embedded into a status. | ||
287 | 288 | ||
288 | Returns a card dict. | 289 | Returns a card dict. |
289 | """ | 290 | """ |
@@ -482,6 +483,7 @@ class Mastodon: | |||
482 | 483 | ||
483 | The visibility parameter is a string value and matches the visibility | 484 | The visibility parameter is a string value and matches the visibility |
484 | option on the /api/v1/status POST API endpoint. It accepts any of: | 485 | option on the /api/v1/status POST API endpoint. It accepts any of: |
486 | 'direct' - post will be visible only to mentioned users | ||
485 | 'private' - post will be visible only to followers | 487 | 'private' - post will be visible only to followers |
486 | 'unlisted' - post will be public but not appear on the public timeline | 488 | 'unlisted' - post will be public but not appear on the public timeline |
487 | 'public' - post will be public | 489 | 'public' - post will be public |