aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLydia <[email protected]>2016-11-25 13:43:13 -0500
committerLydia <[email protected]>2016-11-25 13:43:13 -0500
commite94445c86b4dcaa14c79e7c36a7145c42b25ed9d (patch)
treebe16e633416868e05a86c1250e308012f09fecb7 /docs
parent0524dd1f2b130fdaddd2d209716bf99236b02a22 (diff)
downloadmastodon.py-e94445c86b4dcaa14c79e7c36a7145c42b25ed9d.tar.gz
Corrections
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)