Menu

#20 Guild object returns Private info... no Member data.

4.0
closed
api key (1)
2014-10-16
2014-10-16
James
No

I recently added / updated version of the wowarmoryapi to replace public/private with the api/shared fields. I've supplied my key, however, I only receive this information when doing a print_r on the $guild info:

Guild Object
(
[name:Guild:private] => Anam Cara
[region:Guild:private] => us
[realm:Guild:private] => Ysera
[guildData:Guild:private] =>
[fields:Guild:private] => Array
(
[0] => members
[1] => achievements
)

[cache:Guild:private] => 
[emblemAdd:Guild:private] => 
[emblemHideRing:Guild:private] => 
[perks:Guild:private] => 
[guildRankTitles:Guild:private] => Array
    (
        [0] => Guild Master
        [1] => Founder
        [2] => Officer
        [3] => Alt Officer
        [4] => Raid Leader
        [5] => Member
        [6] => Alt Member
        [7] => Initiate
        [8] => Inactive
        [9] => Rep Finger Guy
    )

)

I'm getting an error from Guild.class.php on line 132 when calling $members = $guild->getMembers();

Warning: Invalid argument supplied for foreach() in wowarmoryapi/Guild.class.php on line 132

I'm assuming this has to do with the guild info being private and not pulling everything back? Is that related to the key I supplied? I simply copied / pasted in the key that was provided, so I'm not quite sure what's going on here.

Just hoping you or someone else could shed some light on the situation.

Discussion

  • James

    James - 2014-10-16
    • status: open --> closed
     
  • James

    James - 2014-10-16

    UPDATED TO CLOSED. saw this on the bnet dev site... other people are complaining about it.

     
  • Thomas Andersen

    Thomas Andersen - 2014-10-16

    Hi James,

    Thanks for reporting it.

    I agree that it seems like it's armory failing.
    Using the function on dev.battle.net -> GET MEMBERS /WOW/GUILD/:REALM/:GUILDNAME

    It also fails with 404.

     

Log in to post a comment.