get_instance | R Documentation |
Get various information about a specific instance
get_instance_general(instance = NULL, token = NULL, anonymous = TRUE)
get_instance_peers(instance = NULL, token = NULL, anonymous = TRUE)
get_instance_activity(instance = NULL, token = NULL, anonymous = TRUE)
get_instance_emoji(instance = NULL, token = NULL, anonymous = TRUE)
get_instance_directory(
instance = NULL,
token = NULL,
offset = 0,
limit = 40,
order = "active",
local = FALSE,
anonymous = TRUE,
parse = TRUE
)
get_instance_trends(
instance = NULL,
token = NULL,
limit = 10,
anonymous = TRUE
)
get_instance_rules(instance = NULL, token = NULL, anonymous = FALSE)
get_instance_blocks(instance = NULL, token = NULL, anonymous = TRUE)
instance |
character, the server name of the instance where the status is located. If |
token |
user bearer token (read from file by default) |
anonymous |
logical, should the API call be made anonymously? Defaults to TRUE but some instances might need authentication here |
offset |
How many accounts to skip before returning results. Default 0. |
limit |
integer, Maximum number of results to return |
order |
'active' to sort by most recently posted statuses (default) or 'new' to sort by most recently created profiles. |
local |
logical, show only local accounts? |
parse |
logical, if |
Returns general information about the instance
Returns the peers of an instance
Shows the weekly activity of the instance (3 months)
Lists custom emojis available on the instance
A directory of profiles that the instance is aware of
Tags that are being used more frequently within the past week
Prints the rules of an instance
List of domains that are blocked by an instance.
instance details as list or tibble depending on call function
## Not run:
get_instance_general("mastodon.social")
get_instance_activity("mastodon.social")
get_instance_emoji("mastodon.social")
get_instance_peers("mastodon.social")
get_instance_directory("mastodon.social",limit = 2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.