Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eyal-wowhub/characterinfo

A library that provides character and realm information.
https://github.com/eyal-wowhub/characterinfo

lib library lua world-of-warcraft world-of-warcraft-addon wow wow-addon

Last synced: 16 days ago
JSON representation

A library that provides character and realm information.

Awesome Lists containing this project

README

        

# CharacterInfo

A library that provides character and realm information.

#### Dependencies: [LibStub](https://www.curseforge.com/wow/addons/libstub), [Contracts](https://github.com/Eyal-WowHub/Contracts)

### Example:

```lua
local CharacterInfo = LibStub("CharacterInfo-1.0")

for isPlayerRealm, realm in CharacterInfo:IterableConnectedRealms() do
if isPlayerRealm then
print(realm, CharacterInfo:GetName())
else
print(realm)
end
end
```