@quanin I'm trying to make a script for (Linux-using, I guess) users to fetch a list of users they follow, and users who follow them, from a particular server. Right now there isn't a quick and easy way to do that, except using the API and parsing the output—which requires the user ID.
(You can export your following list as a CSV, and manipulate it with a spreadsheet application, but 1. that's awfully unwieldy, and 2. there isn't a way to do that with *people who follow you*.)
It's for cases when I (as the admin) am going to defederate a server, so users might want to figure out what connections they have.