Corrections

This commit is contained in:
Lydia 2016-11-25 13:43:13 -05:00
pare 0524dd1f2b
commit e94445c86b

Veure arxiu

@ -121,7 +121,7 @@ These methods return an account dict:
# Returns # Returns
{ {
'display_name': The user's display name 'display_name': The user's display name
'acct': The user's account name (what you @ them with) 'acct': The user's account name as username@domain (@domain omitted for local users)
'following_count': How many people they follow 'following_count': How many people they follow
'url': Their URL; usually 'https://mastodon.social/users/<acct>' 'url': Their URL; usually 'https://mastodon.social/users/<acct>'
'statuses_count': How many statuses they have 'statuses_count': How many statuses they have
@ -130,7 +130,7 @@ These methods return an account dict:
'note': Their bio 'note': Their bio
'header': URL for their header image 'header': URL for their header image
'id': Same as <numerical id> 'id': Same as <numerical id>
'username': Usually same as acct 'username': The username (what you @ them with)
} }
.. automethod:: Mastodon.account_statuses .. automethod:: Mastodon.account_statuses
@ -221,9 +221,9 @@ Returns a media dict:
# Returns # Returns
{ {
'text_url': The display text for the media (what shows up in toots) 'text_url': The display text for the media (what shows up in toots)
'preview_url': The URL for the media preview on Amazon S3 'preview_url': The URL for the media preview
'type': Media type, EG 'image' 'type': Media type, EG 'image'
'url': The URL for the media on Amazon S3 'url': The URL for the media
} }
.. _Mastodon: https://github.com/Gargron/mastodon .. _Mastodon: https://github.com/Gargron/mastodon