-
getAchievement(achievementId, callbackFunction)
-
Parameters:
Name |
Type |
Description |
achievementId |
Integer
|
The achievement number |
callbackFunction |
responseCallback
|
A callback function that will be triggered when we have the data |
- Source:
-
Example
wowApiInstance.getAchievement(2144, function(data) {console.log(data)});
-
getAuctions(realm, callbackFunction)
-
Parameters:
Name |
Type |
Description |
realm |
String
|
The realm name |
callbackFunction |
responseCallback
|
A callback function that will be triggered when we have the data |
- Source:
-
Example
wowApiInstance.getAuctions('medivh', function(data) {console.log(data)});
-
getBattlePetAbility(abilityId, callbackFunction)
-
Parameters:
Name |
Type |
Description |
abilityId |
Integer
|
|
callbackFunction |
responseCallback
|
A callback function that will be triggered when we have the data |
- Source:
-
Example
wowApiInstance.getBattlePetAbility(640, function(data) {console.log(data)});
-
getBattlePetSpecies(speciesId, callbackFunction)
-
Parameters:
Name |
Type |
Description |
speciesId |
Integer
|
|
callbackFunction |
responseCallback
|
A callback function that will be triggered when we have the data |
- Source:
-
Example
wowApiInstance.getBattlePetAbility(640, function(data) {console.log(data)});
-
getBattlePetStats(speciesDetails, callbackFunction)
-
Parameters:
- Source:
-
Example
wowApiInstance.getBattlePetStats({
speciesId: 640,
level: 25,
breedId: 3,
qualityId: 1
}, function (data) {
console.log(data);
});
-
getChallengeLeaderboard(realm, callbackFunction)
-
Parameters:
Name |
Type |
Description |
realm |
String
|
null
|
The realm name. If it is null, it will return region leaderboard |
callbackFunction |
responseCallback
|
A callback function that will be triggered when we have the data |
- Source:
-
Example
wowApiInstance.getChallengeLeaderboard("steamwheedle-cartel", function (data) {console.log(data);});
wowApiInstance.getChallengeLeaderboard(null, function (data) {console.log(data);});
-
getCharacterProfile(characterOptions, callbackFunction)
-
Parameters:
Name |
Type |
Description |
characterOptions |
characterOptions
|
Contains the options describing what to retrieve |
callbackFunction |
responseCallback
|
A callback function that will be triggered when we have the data |
- Source:
-
Example
wowApiInstance.getCharacterProfile({realm: "steamwheedle-cartel",characterName: "HarapAlb"}, function (data)
{console.log(data);});
wowApiInstance.getCharacterProfile({realm: "steamwheedle-cartel",characterName: "HarapAlb",fields: "items"}, function (data) { console.log(data); });
wowApiInstance.getCharacterProfile({realm: "steamwheedle-cartel", characterName: "HarapAlb", fields: "items, pets, stats, titles"}, function (data)
{console.log(data);});
-
getGuildProfile(guildOptions, callbackFunction)
-
Parameters:
Name |
Type |
Description |
guildOptions |
guildOptions
|
Contains the options describing what to retrieve |
callbackFunction |
responseCallback
|
A callback function that will be triggered when we have the data |
- Source:
-
Example
wowApiInstance.getGuildProfile({
realm: "steamwheedle-cartel",
guildName: "House of Elements"
}, function (data) {
console.log(data);
});
wowApiInstance.getGuildProfile({
realm: "steamwheedle-cartel",
guildName: "House of Elements",
fields: "members, achievements, news, challenge"
}, function (data) {
console.log(data);
});
-
getIemSet(setId, callbackFunction)
-
Parameters:
Name |
Type |
Description |
setId |
Integer
|
|
callbackFunction |
responseCallback
|
A callback function that will be triggered when we have the data |
- Source:
-
Example
wowApiInstance.getItem(1060, function(data) {console.log(data)});
-
getItem(itemId, callbackFunction)
-
Parameters:
Name |
Type |
Description |
itemId |
Integer
|
|
callbackFunction |
responseCallback
|
A callback function that will be triggered when we have the data |
- Source:
-
Example
wowApiInstance.getItem(18803, function(data) {console.log(data)});
-
getPVPLeaderboard(bracket, callbackFunction)
-
Parameters:
Name |
Type |
Description |
bracket |
String
|
The bracket for the leaderborad. One of: "2v2" | "3v3" | "5v5" | "rbg" |
callbackFunction |
responseCallback
|
A callback function that will be triggered when we have the data |
- Source:
-
Example
wowApiInstance.getPVPLeaderboard("3v3", function (data) { console.log(data); });
-
getRealmStatus(realms, callbackFunction)
-
Parameters:
Name |
Type |
Description |
realms |
String
|
null
|
The list of realms to get status, or null for all realms from region |
callbackFunction |
responseCallback
|
A callback function that will be triggered when we have the data |
- Source:
-
Example
wowApiInstance.getRealmStatus(null, function (data) {
console.log(data);
});
wow.getRealmStatus("steamwheedle-cartel,medivh", function (data) {
console.log(data);
});
-
getRecipe(recipeId, callbackFunction)
-
Parameters:
Name |
Type |
Description |
recipeId |
Integer
|
|
callbackFunction |
responseCallback
|
A callback function that will be triggered when we have the data |
- Source:
-
Example
wowApiInstance.getRecipe(33994, function(data) {console.log(data)});
-
getSpell(spellId, callbackFunction)
-
Parameters:
Name |
Type |
Description |
spellId |
Integer
|
|
callbackFunction |
responseCallback
|
A callback function that will be triggered when we have the data |
- Source:
-
Example
wowApiInstance.getSpell(8056, function(data) {console.log(data)});