Download
(17 Kb)
Download
Updated: 08-04-14 06:23 AM
Compatibility:
Warlords of Draenor (6.0)
Siege of Orgrimmar (5.4)
Updated:08-04-14 06:23 AM
Created:07-27-14 08:55 PM
Downloads:57
Favorites:1
MD5:
5.4
LibRealmInfo
Version: 4
by: Phanx [More]
Library to provide information about realms.

Use GitHub for issues and patches.

Usage

LibStub("LibRealmInfo"):GetRealmInfo(realmID)
=> name, apiName, rules, locale, battlegroup, region, timezone, connected, latinName

LibStub("LibRealmInfo"):GetRealmInfoByName(name, region)
=> realmID, name, apiName, rules, locale, battlegroup, region, timezone, connected, latinName

LibStub("LibRealmInfo"):GetRealmInfoByUnit(unit)
=> realmID, name, apiName, rules, locale, battlegroup, region, timezone, connected, latinName

See the API documentation on GitHub for more details!

To Do

Data for Korean realms?
If you have an active Korean account, please see this forum post. If you don't know how to run the script provided there, you can just post the whole HTML source of the relevant page (right-click > view source > save, then attach the file to your post).

Timezones for Russian realms?
If you are able to log onto Russian realms, please report back with the server time offset from GMT.
Archived Files (5)
File Name
Version
Size
Author
Date
4
17kB
Phanx
08-03-14 01:14 PM
3
15kB
Phanx
07-29-14 10:05 AM
2
10kB
Phanx
07-29-14 01:21 AM
1
16kB
Phanx
07-27-14 08:56 PM
0B
Phanx
07-27-14 08:55 PM


Post A Reply Comment Options
Unread 07-27-14, 09:35 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4267
File comments: 1955
Uploads: 39
Please use GitHub for bug reports, feature requests, and patches.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Last edited by Phanx : 08-02-14 at 11:32 PM.
Phanx is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: