Mastodon::Entity::Account - A Mastodon user account
This object should not be manually created. It is intended to be generated from the data received from a Mastodon server using the coercions in Mastodon::Types.
For current information, see the Mastodon API documentation
The ID of the account
The username of the account
Equals username for local users, includes @domain for remote ones
username
@domain
The account's display name
Boolean for when the account cannot be followed without waiting for approval first
The time the account was created
The number of followers for the account
The number of accounts the given account is following
The number of statuses the account has made
Biography of user
URL of the user's profile page (can be remote)
URL to the avatar image
URL to the avatar static image (gif)
URL to the header image
URL to the header static image (gif)
This class provides the following convenience methods. They act as a shortcut, passing the appropriate identifier of the current object as the first argument to the corresponding methods in Mastodon::Client.
A shortcut to get_account.
get_account
A shortcut to followers.
followers
A shortcut to following.
following
A shortcut to statuses.
statuses
A shortcut to follow.
follow
A shortcut to unfollow.
unfollow
A shortcut to remote_follow.
remote_follow
A shortcut to report.
report
A shortcut to block.
block
A shortcut to unblock.
unblock
A shortcut to mute.
mute
A shortcut to unmute.
unmute
A shortcut to relationships.
relationships
A shortcut to authorize_follow.
authorize_follow
A shortcut to reject_follow.
reject_follow
José Joaquín Atria <jjatria@cpan.org>
This software is copyright (c) 2017 by José Joaquín Atria.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Mastodon::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mastodon::Client
CPAN shell
perl -MCPAN -e shell install Mastodon::Client
For more information on module installation, please visit the detailed CPAN module installation guide.