If I build a quick and dirty addon, the first API will be useful. Sadly, the second does not work.
https://wowpedia.fandom.com/wiki/API...eputationRanks returns 0, 0, probably because Blizzard added friends that have different maximum ranks.
Garrison bodyguards have 3 ranks, others have 5, some have 6, a few have 7, and the Naz'jatar trio by the campfire have 30, plus a few oddballs in between.
I don't actually need the friendshipRepIDs for my main project; knowing those would be convenient. This was more of a curiosity question.