You can get location, level, alliance, class, and character name from the guild list or friends list functions.
From API page on wiki:
Code:
GetFriendInfo(luaindex friendIndex)
Returns: string displayName, string note, integer playerStatus, integer secsSinceLogoff
GetFriendCharacterInfo(luaindex friendIndex)
Returns: bool hasCharacter, string characterName, string zoneName, integer classType, integer alliance, integer level, integer veteranRank
GetGuildMemberInfo(integer guildId, luaindex memberIndex)
Returns: string name, string note, luaindex rankIndex, integer playerStatus, integer secsSinceLogoff
GetGuildMemberCharacterInfo(integer guildId, luaindex memberIndex)
They operate on an index, so you have to iterate through the list to find a player with certain name.