View Single Post
02-22-22, 04:45 AM   #4
arkayenro
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 12
Originally Posted by myrroddin View Post
Sadly, the second does not work.
it should work but it doesnt take the factionid it takes the friendid from the first apis return, at least thats i have mine coded and it seems to work ok.

you should be able to loop through 1-5000 for the GetFriendshipReputation function and check if the first return is set, if it is a "friend" then you can call GetFriendshipReputationRanks with that value to get the current and max ranks.

just double checked and my code works fine, just call it with the friendid, not the factionid and youll be fine. that api page needs to be fixed.

Last edited by arkayenro : 02-22-22 at 05:00 AM.
  Reply With Quote