aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/index.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 85f1982..667890f 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -121,7 +121,7 @@ These methods return an account dict:
121 # Returns 121 # Returns
122 { 122 {
123 'display_name': The user's display name 123 'display_name': The user's display name
124 'acct': The user's account name (what you @ them with) 124 'acct': The user's account name as username@domain (@domain omitted for local users)
125 'following_count': How many people they follow 125 'following_count': How many people they follow
126 'url': Their URL; usually 'https://mastodon.social/users/<acct>' 126 'url': Their URL; usually 'https://mastodon.social/users/<acct>'
127 'statuses_count': How many statuses they have 127 'statuses_count': How many statuses they have
@@ -130,7 +130,7 @@ These methods return an account dict:
130 'note': Their bio 130 'note': Their bio
131 'header': URL for their header image 131 'header': URL for their header image
132 'id': Same as <numerical id> 132 'id': Same as <numerical id>
133 'username': Usually same as acct 133 'username': The username (what you @ them with)
134 } 134 }
135 135
136.. automethod:: Mastodon.account_statuses 136.. automethod:: Mastodon.account_statuses
@@ -221,9 +221,9 @@ Returns a media dict:
221 # Returns 221 # Returns
222 { 222 {
223 'text_url': The display text for the media (what shows up in toots) 223 'text_url': The display text for the media (what shows up in toots)
224 'preview_url': The URL for the media preview on Amazon S3 224 'preview_url': The URL for the media preview
225 'type': Media type, EG 'image' 225 'type': Media type, EG 'image'
226 'url': The URL for the media on Amazon S3 226 'url': The URL for the media
227 } 227 }
228 228
229.. _Mastodon: https://github.com/Gargron/mastodon 229.. _Mastodon: https://github.com/Gargron/mastodon
Powered by cgit v1.2.3 (git 2.41.0)