lemmy_get_federated_instances | R Documentation |
HTTP.Get /federated_instances
lemmy_get_federated_instances(
auth = NULL,
.lemmy_instance = getOption("lemmy_instance", "https://lemmy.world")
)
auth |
(Optional) A character value. |
.lemmy_instance |
Default: "https://lemmy.world". Change the default instance by setting the |
A list
of length 1:
<list> `-federated_instances: <list> |-linked: <list> | `-[Each element]: <list> | |-id: A numeric value | |-domain: A character value | |-published: A character value | |-updated: (Optional) A character value | |-software: (Optional) A character value | `-version: (Optional) A character value |-allowed: <list> | `-[Each element]: <list> | |-id: A numeric value | |-domain: A character value | |-published: A character value | |-updated: (Optional) A character value | |-software: (Optional) A character value | `-version: (Optional) A character value `-blocked: <list> `-[Each element]: <list> |-id: A numeric value |-domain: A character value |-published: A character value |-updated: (Optional) A character value |-software: (Optional) A character value `-version: (Optional) A character value
instances <- lemmy_get_federated_instances()
length(instances$federated_instances$linked)
some_instance <- instances$federated_instances$linked[[732]]
some_instance$domain
some_instance$published
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.