list_nodes
List every registered node, with what it last said about itself.
Generated from Plexora 0.0.55View source
from plexora import list_nodeslist_nodes()Reads the local registry only -- nothing here contacts a node, so an entry for a node that is asleep or disconnected comes back the same as one that answered a moment ago.
Returns
list[Node]One record per registered node, each with name,
endpoint, token and browser_endpoint, plus -- once a handshake
has succeeded at least once -- api_version, node_id,
plexora_version and last_seen.
Examples
import plexora
for node in plexora.list_nodes():
print(node.name, node.endpoint, node.last_seen)