View Single Post
11-02-14, 09:43 PM   #81
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Thanks. I'd already added those but listed them as "hidden" realms like the "internal record" ones. I've now switched those realms over to use those IDs, and listed the old ID as "hidden" just in case. Hidden realms are included for region detection, but won't return any information if you look them up by ID.

I've gone ahead and tagged a new release, which is not backwards-compatible.
  • GetRealmInfo now takes a name (and optionally a region) rather than an ID, since this is the primary lookup you should be using with data collected from game APIs.
  • GetRealmInfoByName has been removed.
  • A new GetRealmInfoByID method has been added, but you should only use it on IDs previously obtained from GetRealmInfo, or on IDs from your addon's internal data, since the IDs provided by game APIs are often incorrect.
  • All realm info methods now return the same list of values for consistency; see GitHub for updated documentation.
  • Russian realms can now be queried with either the Cyrillic-alphabet or Latin-alphabet version of their names, instead of only with the Cyrillic version.

I think we can almost remove the "beta" label at this point, and I don't plan to make any more changes that break compatibility unless some major flaw in the design comes up.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote