I went looking through Wowpedia and Wowhead and couldn't find the friendshipRepIDs for factions that are friends. Searching Wowpedia for 'factionid' returned the expected factionIDs, but those are not the same numbers.
The best I could do was
this search on WoW.tools with the ID column, but I can't confirm the results. Plus, that is awkward to crawl through if I only want a list.
I can write a quick and dirty addon to parse my reputation panel, but I don't have every friend discovered and the results would be incomplete.
What I'd like is
'name' = friendshipRepID or even
factionID = friendshipRepID. Did I miss something in the online tools?