Javascript API - Cisco211.de

HTML

Die Verbindung zum Server ist verschlüsselt!

GW2 Javascript API

This is a simple and fully standalone GW2-API-Wrapper for Javascript which helps you loading data from GW2-API server.
It supports all v1 and v2 endpoints including the new and undocumented endpoints you can find on the API-CDI here.

Beispiele

Download

GW2.class.js - Javascript GW2 API Wrapper (Last change: 2017-05-25)

Test Summary

Methods: 0
Syntax highlighting (slow rendering):

Methods

1. calcScorePercentage

Calculate the percentual score for one server color.

Syntax

FW_GW2().calcScorePercentage(red,green,blue,value); // number

Parameters

TypNameBeschreibung
numberredRed color count.
numbergreenGreen color count.
numberblueBlue color count.
numbervalueValue to calculate percentage.

Returns

number - Percentage of value.

Tests

2. get

Get anything in a generic approach (held for compatibility).

Syntax

FW_GW2().get(parameters,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
objectparametersObject with parameters.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:Main
2. https://github.com/arenanet/api-cdi
3. https://api.guildwars2.com/v1
4. https://api.guildwars2.com/v2

Tests

Input

Parameters
apiKey:
board:
cid:
continent_id:
endpoint:
event_id:
fid:
floor:
guild_id:
guild_name:
id:
ids:
input:
item_id:
lang:
map_id:
match_id:
mid:
name:
output:
page:
pageSize:
pid:
quantity:
recipe_id:
region:
rid:
sid:
since:
skin_id:
team:
tid:
world:
world_id:

Output

 

 

3. getAccount

Get account object.

Syntax

FW_GW2().getAccount(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/account.js

Tests

4. getAccountAchievements

Get account achievements object.

Syntax

FW_GW2().getAccountAchievements(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/achievements
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/achievements.js

Tests

5. getAccountBank

Get bank map from account.

Syntax

FW_GW2().getAccountBank(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/bank
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/bank.js

Tests

6. getAccountDungeons

Get completed daily dungeon paths from account.

Syntax

FW_GW2().getAccountDungeons(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/dungeons
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/dungeons.js

Tests

7. getAccountDyes

Get shared inventory slots from account.

Syntax

FW_GW2().getAccountDyes(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/inventory
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/dyes.js

Tests

8. getAccountFinishers

Get finishers from account.

Syntax

FW_GW2().getAccountFinishers(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/finishers
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/finishers.js

Tests

9. getAccountGliders

Get gliders from account.

Syntax

FW_GW2().getAccountGliders(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/gliders
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/gliders.js

Tests

10. getAccountHome

Get list of home instance APIv2 endpoints from account.

Syntax

FW_GW2().getAccountHome(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://account.arena.net/applications

Tests

11. getAccountHomeCats

Get cats of home instance from account.

Syntax

FW_GW2().getAccountHomeCats(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/home/cats
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/home-cats.js

Tests

12. getAccountHomeNodes

Get nodes of home instance from account.

Syntax

FW_GW2().getAccountHomeNodes(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/home/nodes
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/home-nodes.js

Tests

13. getAccountInventory

Get dyes from account.

Syntax

FW_GW2().getAccountInventory(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/dyes
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/inventory.js

Tests

14. getAccountMasteries

Get masteries map from account.

Syntax

FW_GW2().getAccountMasteries(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/masteries
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/masteries.js

Tests

15. getAccountMaterials

Get materials map from account.

Syntax

FW_GW2().getAccountMaterials(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/materials
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/materials.js

Tests

16. getAccountMinis

Get account minis object.

Syntax

FW_GW2().getAccountMinis(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/minis
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/minis.js

Tests

17. getAccountOutfits

Get account outfits object.

Syntax

FW_GW2().getAccountOutfits(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/outfits
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/outfits.js

Tests

18. getAccountRaids

Get weekly account raids progress object.

Syntax

FW_GW2().getAccountRaids(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/raids
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/raids.js

Tests

19. getAccountRecipes

Get account recipes object.

Syntax

FW_GW2().getAccountRecipes(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/recipes
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/recipes.js

Tests

20. getAccountSkins

Get skins from account.

Syntax

FW_GW2().getAccountSkins(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/skins
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/skins.js

Tests

21. getAccountTitles

Get titles from account.

Syntax

FW_GW2().getAccountTitles(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/titles
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/titles.js

Tests

22. getAccountWallet

Get wallet from account.

Syntax

FW_GW2().getAccountWallet(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/account/wallet
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/account/wallet.js

Tests

23. getAchievement

Get achievement by ID.

Syntax

FW_GW2().getAchievement(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidAchievement ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/achievements
2. https://github.com/arenanet/api-cdi/tree/master/v2/achievements/index.js

Tests

24. getAchievements

Get list of all achievement ID's.

Syntax

FW_GW2().getAchievements(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/achievements
2. https://github.com/arenanet/api-cdi/tree/master/v2/achievements/index.js

Tests

25. getAchievementsByID

Get list of achievement objects by given list of ID's.

Syntax

FW_GW2().getAchievementsByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|stringidsList of achievement ID's.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/achievements
2. https://github.com/arenanet/api-cdi/tree/master/v2/achievements/index.js

Tests

26. getAchievementsCategory

Get achievement category by ID.

Syntax

FW_GW2().getAchievementsCategory(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidAchievement category ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/achievements/categories
2. https://github.com/arenanet/api-cdi/blob/master/v2/achievements/categories.js

Tests

27. getAchievementsCategories

Get list of all achievement category ID's.

Syntax

FW_GW2().getAchievementsCategories(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/achievements/categories
2. https://github.com/arenanet/api-cdi/blob/master/v2/achievements/categories.js

Tests

28. getAchievementsCategoriesByID

Get list of achievement category objects by given list of ID's.

Syntax

FW_GW2().getAchievementsCategoriesByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|stringidsList of achievement category ID's.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/achievements/categories
2. https://github.com/arenanet/api-cdi/blob/master/v2/achievements/categories.js

Tests

29. getAchievementsDaily

Get list of all daily achievement ID's.

Syntax

FW_GW2().getAchievementsDaily(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/achievements/daily
2. https://github.com/arenanet/api-cdi/blob/master/v2/achievements/daily.js

Tests

30. getAchievementsDailyTomorrow

Get list of all daily achievement ID's for tomorrow.

Syntax

FW_GW2().getAchievementsDailyTomorrow(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/achievements/daily/tomorrow
2. https://github.com/arenanet/api-cdi/blob/master/v2/achievements/daily.js

Tests

31. getAchievementsGroup

Get achievement group by ID.

Syntax

FW_GW2().getAchievementsGroup(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidAchievement group ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/achievements/groups
2. https://github.com/arenanet/api-cdi/blob/master/v2/achievements/groups.js

Tests

32. getAchievementsGroups

Get list of all achievement group ID's.

Syntax

FW_GW2().getAchievementsGroups(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/achievements/groups
2. https://github.com/arenanet/api-cdi/blob/master/v2/achievements/groups.js

Tests

33. getAchievementsGroupsByID

Get list of achievement group objects by given list of ID's.

Syntax

FW_GW2().getAchievementsGroupsByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|stringidsList of achievement group ID's.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/achievements/groups
2. https://github.com/arenanet/api-cdi/blob/master/v2/achievements/groups.js

Tests

34. getAllWorlds

Get all worlds as map (Combination of getWorlds and getWorldsByID).

Syntax

FW_GW2().getAllWorlds(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Tests

35. getBackstory

Get backstory answer/question by ID.

Syntax

FW_GW2().getBackstory(what,id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringwhatWhat? (answers|questions).
numberidBackstory answer/question ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/backstory
2. https://github.com/arenanet/api-cdi/blob/master/v2/backstory

Tests

36. getBackstories

Get list of backstory answer/question ID's.

Syntax

FW_GW2().getBackstories(what,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringwhatWhat? (answers|questions).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/backstory
2. https://github.com/arenanet/api-cdi/blob/master/v2/backstory

Tests

37. getBackstoriesByID

Get backstory answer/question object by given list of ID's.

Syntax

FW_GW2().getBackstoriesByID(what,ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringwhatWhat? (answers|questions).
object|stringidsList of backstory (answer/question) ID's.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/backstory
2. https://github.com/arenanet/api-cdi/blob/master/v2/backstory

Tests

38. getBuild

Get game build ID number.

Syntax

FW_GW2().getBuild(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
},version); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.
numberversionAPI version (1|2).

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/build
2. https://wiki.guildwars2.com/wiki/API:2/build
3. http://jsfiddle.net/cisco211/dhfa57pj

Tests

39. getCharacter

Get character object.

Syntax

FW_GW2().getCharacter(apiKey,character,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
stringcharacterCharacter name (UTF-8).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/characters
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/characters/characters.js

Tests

40. getCharacters

Get list of character names.

Syntax

FW_GW2().getCharacters(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/characters
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/characters/characters.js

Tests

41. getCharactersByName

Get character object(s) from names(s).

Syntax

FW_GW2().getCharactersByName(apiKey,characters,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
object|stringcharactersCharacter name(s).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/characters
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/characters/characters.js

Tests

42. getCharactersByPage

Get characters by page.

Syntax

FW_GW2().getCharactersByPage(apiKey,page,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
numberpagePage number.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/characters
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/characters/characters.js

Tests

43. getCharacterBackstory

Get character backstory object.

Syntax

FW_GW2().getCharacterBackstory(apiKey,character,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
stringcharacterCharacter name (UTF-8).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/characters#Backstory
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/characters/backstory.js

Tests

44. getCharacterCore

Get character core object.

Syntax

FW_GW2().getCharacterCore(apiKey,character,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
stringcharacterCharacter name (UTF-8).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/characters#Core
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/characters/core.js

Tests

45. getCharacterCrafting

Get character crafting object.

Syntax

FW_GW2().getCharacterCrafting(apiKey,character,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
stringcharacterCharacter name (UTF-8).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/characters#Crafting
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/characters/crafting.js

Tests

46. getCharacterEquipment

Get character equipment object.

Syntax

FW_GW2().getCharacterEquipment(apiKey,character,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
stringcharacterCharacter name (UTF-8).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/characters#Equipment
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/characters/equipment.js

Tests

47. getCharacterHeropoints

Get character heropoints object.

Syntax

FW_GW2().getCharacterHeropoints(apiKey,character,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
stringcharacterCharacter name (UTF-8).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/characters#Heropoints
2. https://account.arena.net/applications

Tests

48. getCharacterInventory

Get character inventory object.

Syntax

FW_GW2().getCharacterInventory(apiKey,character,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
stringcharacterCharacter name (UTF-8).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/characters#Inventory
2. https://account.arena.net/applications

Tests

49. getCharacterRecipes

Get character recipes object.

Syntax

FW_GW2().getCharacterRecipes(apiKey,character,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
stringcharacterCharacter name (UTF-8).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://account.arena.net/applications
2. https://github.com/arenanet/api-cdi/blob/master/v2/characters/recipes.js

Tests

50. getCharacterSAB

Get character super adventure box progress object.

Syntax

FW_GW2().getCharacterSAB(apiKey,character,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
stringcharacterCharacter name (UTF-8).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/characters#Super_Adventure_Box_.28sab.29
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/characters/sab.js

Tests

51. getCharacterSkills

Get character skills object.

Syntax

FW_GW2().getCharacterSkills(apiKey,character,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
stringcharacterCharacter name (UTF-8).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/characters#Skills
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/characters/skills.js

Tests

52. getCharacterSpecializations

Get character specializations object.

Syntax

FW_GW2().getCharacterSpecializations(apiKey,character,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
stringcharacterCharacter name (UTF-8).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/characters#Specialization
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/characters/specializations.js

Tests

53. getCharacterTraining

Get character training object.

Syntax

FW_GW2().getCharacterTraining(apiKey,character,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
stringcharacterCharacter name (UTF-8).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/characters#Training
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/characters/training.js

Tests

54. getColor

Get color object by ID.

Syntax

FW_GW2().getColor(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidColor ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/colors
2. https://github.com/arenanet/api-cdi/blob/master/v2/colors.js

Tests

55. getColors

Get list of color ID's.

Syntax

FW_GW2().getColors(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
},version); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.
numberversionAPI version (1|2).

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/colors
2. https://wiki.guildwars2.com/wiki/API:2/colors
3. https://github.com/arenanet/api-cdi/blob/master/v2/colors.js

Tests

56. getColorsByID

Get color object(s) from ID(s).

Syntax

FW_GW2().getColorsByID(colors,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numbercolorsColor ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/colors
2. https://wiki.guildwars2.com/wiki/API:2/colors
3. https://github.com/arenanet/api-cdi/blob/master/v2/colors.js

Tests

57. getContinent

Get continent object by ID.

Syntax

FW_GW2().getContinent(cid,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numbercidContinent ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/continents

Tests

58. getContinentFloor

Get continent floor by ID.

Syntax

FW_GW2().getContinentFloor(cid,fid,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numbercidContinent ID.
numberfidFloor ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/continents
2. https://github.com/arenanet/api-cdi/blob/master/v2/floors/floor.js

Tests

59. getContinentFloors

Get list of continent floor ID's.

Syntax

FW_GW2().getContinentFloors(cid,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numbercidContinent ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/continents
2. https://github.com/arenanet/api-cdi/blob/master/v2/floors/floor.js

Tests

60. getContinentMap

Get continent map by ID.

Syntax

FW_GW2().getContinentMap(cid,fid,rid,mid,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numbercidContinent ID.
numberfidFloor ID.
numberridRegion ID.
numbermidMap ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/continents
2. https://github.com/arenanet/api-cdi/blob/master/v2/floors/map.js

Tests

61. getContinentMaps

Get list of continent map ID's.

Syntax

FW_GW2().getContinentMaps(cid,fid,rid,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numbercidContinent ID.
numberfidFloor ID.
numberridRegion ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/continents
2. https://github.com/arenanet/api-cdi/blob/master/v2/floors/map.js

Tests

62. getContinentPOI

Get continent points of interest object by ID.

Syntax

FW_GW2().getContinentPOI(cid,fid,rid,mid,pid,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numbercidContinent ID.
numberfidFloor ID.
numberridRegion ID.
numbermidMap ID.
numberpidPOI ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/continents
2. https://github.com/arenanet/api-cdi/blob/master/v2/floors/pois.js

Tests

63. getContinentPOIs

Get list of continent points of interest ID's.

Syntax

FW_GW2().getContinentPOIs(cid,fid,rid,mid,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numbercidContinent ID.
numberfidFloor ID.
numberridRegion ID.
numbermidMap ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/continents
2. https://github.com/arenanet/api-cdi/blob/master/v2/floors/pois.js

Tests

64. getContinentRegion

Get continent region object by ID.

Syntax

FW_GW2().getContinentRegion(cid,fid,rid,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numbercidContinent ID.
numberfidFloor ID.
numberridRegion ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/continents
2. https://github.com/arenanet/api-cdi/blob/master/v2/floors/region.js

Tests

65. getContinentRegions

Get list of continent region ID's.

Syntax

FW_GW2().getContinentRegions(cid,fid,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numbercidContinent ID.
numberfidFloor ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/continents
2. https://github.com/arenanet/api-cdi/blob/master/v2/floors/region.js

Tests

66. getContinents

Get all continents or list of all continent ID's.

Syntax

FW_GW2().getContinents(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
},version); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.
numberversionAPI version (1|2).

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/continents
2. https://wiki.guildwars2.com/wiki/API:2/continents

Tests

67. getContinentSector

Get continent sector object by ID.

Syntax

FW_GW2().getContinentSector(cid,fid,rid,mid,sid,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numbercidContinent ID.
numberfidFloor ID.
numberridRegion ID.
numbermidMap ID.
numbersidSector ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/continents
2. https://github.com/arenanet/api-cdi/blob/master/v2/floors/sectors.js

Tests

68. getContinentSectors

Get list of continent sector ID's.

Syntax

FW_GW2().getContinentSectors(cid,fid,rid,mid,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numbercidContinent ID.
numberfidFloor ID.
numberridRegion ID.
numbermidMap ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/continents
2. https://github.com/arenanet/api-cdi/blob/master/v2/floors/sectors.js

Tests

69. getContinentTask

Get continent task object.

Syntax

FW_GW2().getContinentTask(cid,fid,rid,mid,tid,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numbercidContinent ID.
numberfidFloor ID.
numberridRegion ID.
numbermidMap ID.
numbertidTask ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/continents
2. https://github.com/arenanet/api-cdi/blob/master/v2/floors/tasks.js

Tests

70. getContinentTasks

Get list of continent task ID's.

Syntax

FW_GW2().getContinentTasks(cid,fid,rid,mid,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numbercidContinent ID.
numberfidFloor ID.
numberridRegion ID.
numbermidMap ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/continents
2. https://github.com/arenanet/api-cdi/blob/master/v2/floors/tasks.js

Tests

71. getCurrencies

Get list of currencies ID's.

Syntax

FW_GW2().getCurrencies(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/currencies
2. https://github.com/arenanet/api-cdi/blob/master/v2/currencies.js

Tests

72. getCurrenciesByID

Get currency object(s) from ID(s).

Syntax

FW_GW2().getCurrenciesByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|stringidsArray of currency ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/currencies
2. https://github.com/arenanet/api-cdi/blob/master/v2/currencies.js

Tests

73. getCurrency

Get currency object by ID.

Syntax

FW_GW2().getCurrency(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidCurrency ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/currencies
2. https://github.com/arenanet/api-cdi/blob/master/v2/currencies.js

Tests

74. getDungeon

Get dungeon by ID.

Syntax

FW_GW2().getDungeon(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidDungeon ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/dungeons
2. https://github.com/arenanet/api-cdi/blob/master/v2/dungeons.js

Tests

75. getDungeons

Get list of dungeon ID's.

Syntax

FW_GW2().getDungeons(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/dungeons
2. https://github.com/arenanet/api-cdi/blob/master/v2/dungeons.js

Tests

76. getDungeonsByID

Get dungeon object(s) from ID(s).

Syntax

FW_GW2().getDungeonsByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidsDungeon object ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/dungeons
2. https://github.com/arenanet/api-cdi/blob/master/v2/dungeons.js

Tests

77. getEmblem

Get emblem by ID.

Syntax

FW_GW2().getEmblem(what,id,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringwhatWhat keyword (foregrounds|backgrounds).
numberidemblem ID.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/emblem
2. https://github.com/arenanet/api-cdi/blob/master/v2/emblems/emblems.js

Tests

78. getEmblems

Get list of all emblem ID's.

Syntax

FW_GW2().getEmblems(what,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringwhatWhat keyword (foregrounds|backgrounds).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/emblem
2. https://github.com/arenanet/api-cdi/blob/master/v2/emblems/emblems.js

Tests

79. getEmblemsByID

Get list of emblem objects by given list of ID's.

Syntax

FW_GW2().getEmblemsByID(what,ids,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringwhatWhat keyword (foregrounds|backgrounds).
object|stringidsList of emblem ID's.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/emblem
2. https://github.com/arenanet/api-cdi/blob/master/v2/emblems/emblems.js

Tests

80. getEvent

Get event object by ID.

Syntax

FW_GW2().getEvent(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidEvent ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/event_details

Tests

81. getEvents

Get all events as map.

Syntax

FW_GW2().getEvents(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/event_details

Tests

82. getExchange

Get exchange rate object for gold or gems.

Syntax

FW_GW2().getExchange(what,quantity,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringwhat"What" exchange rate to show? (coins|gems).
numberquantityThe quantity of "what".
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/commerce/exchange
2. https://github.com/arenanet/api-cdi/blob/master/v2/commerce/exchange.js

Tests

83. getFiles

Get all files map.

Syntax

FW_GW2().getFiles(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
},version); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.
numberversionAPI version (1|2).

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/files
2. https://wiki.guildwars2.com/wiki/API:2/files

Tests

84. getFilesByID

Get files map from ID(s).

Syntax

FW_GW2().getFilesByID(files,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
},version); // object

Parameters

TypNameBeschreibung
object|stringfilesFile ID(s).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.
numberversionAPI version (1|2).

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/files
2. https://wiki.guildwars2.com/wiki/API:2/files

Tests

85. getFinisher

Get finisher by ID.

Syntax

FW_GW2().getFinisher(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidFinisher ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/finishers
2. https://github.com/arenanet/api-cdi/blob/master/v2/finishers.js

Tests

86. getFinishers

Get list of finisher ID's.

Syntax

FW_GW2().getFinishers(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/finishers
2. https://github.com/arenanet/api-cdi/blob/master/v2/finishers.js

Tests

87. getFinishersByID

Get finisher object(s) from ID(s).

Syntax

FW_GW2().getFinishersByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidsFinisher object ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/finishers
2. https://github.com/arenanet/api-cdi/blob/master/v2/finishers.js

Tests

88. getGlider

Get glider by ID.

Syntax

FW_GW2().getGlider(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidGlider ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/gliders
2. https://github.com/arenanet/api-cdi/blob/master/v2/gliders.js

Tests

89. getGliders

Get list of glider ID's.

Syntax

FW_GW2().getGliders(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/gliders
2. https://github.com/arenanet/api-cdi/blob/master/v2/gliders.js

Tests

90. getGlidersByID

Get glider object(s) from ID(s).

Syntax

FW_GW2().getGlidersByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidsGlider object ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/gliders
2. https://github.com/arenanet/api-cdi/blob/master/v2/gliders.js

Tests

91. getGuild

Get guild info from guild leader.

Syntax

FW_GW2().getGuild(id,apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidGuild ID.
stringapiKeyGuild leader API-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/guild/:id
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/guild/details.js

Tests

92. getGuildDetailsByID

Get guild details object by ID.

Syntax

FW_GW2().getGuildDetailsByID(id,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringidGuild ID.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/guild_details

Tests

93. getGuildDetailsByName

Get guild details object by name.

Syntax

FW_GW2().getGuildDetailsByName(name,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringnameGuild name (UTF-8).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/guild_details

Tests

94. getGuildEmblemURL

Get guild emblem URL.

Syntax

FW_GW2().getGuildEmblemURL(name); // string

Parameters

TypNameBeschreibung
stringnameGuild name (UTF-8).

Returns

string - Guild emblem URL.

Tests

95. getGuildLog

Get guild log list from guild leader.

Syntax

FW_GW2().getGuildLog(id,apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidGuild ID.
stringapiKeyGuild leader API-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/guild/:id/log
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/guild/log.js

Tests

96. getGuildMembers

Get guild members list from guild leader.

Syntax

FW_GW2().getGuildMembers(id,apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidGuild ID.
stringapiKeyGuild leader API-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/guild/:id/members
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/guild/members.js

Tests

97. getGuildPermission

Get guild permission by ID.

Syntax

FW_GW2().getGuildPermission(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidGuild permission ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/guild/permissions
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/guild/permissions.js

Tests

98. getGuildPermissions

Get list of all guild permission ID's.

Syntax

FW_GW2().getGuildPermissions(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/guild/permissions
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/guild/permissions.js

Tests

99. getGuildPermissionsByID

Get list of guild permission objects by given list of ID's.

Syntax

FW_GW2().getGuildPermissionsByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|stringidsList of guild permission ID's.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/guild/permissions
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/guild/permissions.js

Tests

100. getGuildRanks

Get guild rank list from guild leader.

Syntax

FW_GW2().getGuildRanks(id,apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidGuild ID.
stringapiKeyGuild leader API-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/guild/:id/ranks
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/guild/ranks.js

Tests

101. getGuildSearch

Get list of existing guild ID's by a given name .

Syntax

FW_GW2().getGuildSearch(name,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numbernameGuild name.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/guild/search

Tests

102. getGuildStash

Get guild stash list from guild leader.

Syntax

FW_GW2().getGuildStash(id,apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidGuild ID.
stringapiKeyGuild leader API-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/guild/:id/stash
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/guild/stash.js

Tests

103. getGuildTeams

Get guild teams list from guild leader.

Syntax

FW_GW2().getGuildTeams(id,apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidGuild ID.
stringapiKeyGuild leader API-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/guild/:id/teams
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/guild/teams.js

Tests

104. getGuildTreasury

Get guild treasury list from guild leader.

Syntax

FW_GW2().getGuildTreasury(id,apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidGuild ID.
stringapiKeyGuild leader API-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/guild/:id/treasury
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/guild/treasury.js

Tests

105. getGuildUpgrade

Get guild upgrade by ID.

Syntax

FW_GW2().getGuildUpgrade(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidGuild upgrade ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/guild/upgrades
2. https://github.com/arenanet/api-cdi/blob/master/v2/guild/upgrades.js

Tests

106. getGuildUpgrades

Get list of all guild upgrade ID's.

Syntax

FW_GW2().getGuildUpgrades(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/guild/upgrades
2. https://github.com/arenanet/api-cdi/blob/master/v2/guild/upgrades.js

Tests

107. getGuildUpgradesByID

Get list of guild upgrade objects by given list of ID's.

Syntax

FW_GW2().getGuildUpgradesByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|stringidsList of guild upgrade ID's.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/guild/upgrades
2. https://github.com/arenanet/api-cdi/blob/master/v2/guild/upgrades.js

Tests

108. getGuildUpgradesCompleted

Get list of all completed guild upgrade ID's.

Syntax

FW_GW2().getGuildUpgradesCompleted(id,apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidGuild ID.
stringapiKeyGuild leader API-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://github.com/arenanet/api-cdi/blob/master/v2/guild/upgrades.js
2. https://account.arena.net/applications

Tests

109. getHomeWorldMatchID

Get world match ID from world ID and matches map.

Syntax

FW_GW2().getHomeWorldMatchID(id,matches,version); // string

Parameters

TypNameBeschreibung
numberidWorld ID.
objectmatchesMatches object.
numberversionAPI version (1|2).

Returns

string - Match ID.

Tests

110. getHomeWorldName

Get world name from world ID and worlds map.

Syntax

FW_GW2().getHomeWorldName(id,worlds); // string|boolean

Parameters

TypNameBeschreibung
numberidWorld ID.
objectworldsWorlds object.

Returns

string|boolean - World name or false.

Tests

111. getItem

Get item object by ID.

Syntax

FW_GW2().getItem(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
},version); // object

Parameters

TypNameBeschreibung
numberidItem ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.
numberversionAPI version (1|2).

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/item_details
2. https://wiki.guildwars2.com/wiki/API:2/items
3. https://github.com/arenanet/api-cdi/blob/master/v2/items.js

Tests

112. getItems

Get list of all item ID's.

Syntax

FW_GW2().getItems(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/items

Tests

113. getItemsByID

Get item object(s) from ID(s).

Syntax

FW_GW2().getItemsByID(items,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberitemsItem ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/items
2. https://github.com/arenanet/api-cdi/blob/master/v2/items.js

Tests

114. getItemstat

Get itemstat object by ID.

Syntax

FW_GW2().getItemstat(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidItemstat ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/itemstats
2. https://github.com/arenanet/api-cdi/blob/master/v2/itemstats.js

Tests

115. getItemstats

Get list of all itemstat ID's.

Syntax

FW_GW2().getItemstats(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/itemstats
2. https://github.com/arenanet/api-cdi/blob/master/v2/itemstats.js

Tests

116. getItemstatsByID

Get itemstat object(s) from ID(s).

Syntax

FW_GW2().getItemstatsByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidsItemstat ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/itemstats
2. https://github.com/arenanet/api-cdi/blob/master/v2/itemstats.js

Tests

117. getLegend

Get legend by ID.

Syntax

FW_GW2().getLegend(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidLegend ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/legends
2. https://github.com/arenanet/api-cdi/blob/master/v2/legends.js

Tests

118. getLegends

Get list of all legend ID's.

Syntax

FW_GW2().getLegends(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/legends
2. https://github.com/arenanet/api-cdi/blob/master/v2/legends.js

Tests

119. getLegendsByID

Get list of legend objects by given list of ID's.

Syntax

FW_GW2().getLegendsByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|stringidsList of legend ID's.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/legends
2. https://github.com/arenanet/api-cdi/blob/master/v2/legends.js

Tests

120. getMap

Get map object by ID.

Syntax

FW_GW2().getMap(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
},version); // object

Parameters

TypNameBeschreibung
numberidItem ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.
numberversionAPI version (1|2).

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/maps
2. https://wiki.guildwars2.com/wiki/API:2/maps

Tests

121. getMaps

Get all maps or list of all map ID's.

Syntax

FW_GW2().getMaps(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
},version); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.
numberversionAPI version (1|2).

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/maps
2. https://wiki.guildwars2.com/wiki/API:2/maps

Tests

122. getMapsByID

Get map object(s) from ID(s).

Syntax

FW_GW2().getMapsByID(maps,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numbermapsMap ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/maps

Tests

123. getMapFloor

Get map floor object by continent ID and floor ID.

Syntax

FW_GW2().getMapFloor(id,floor,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidMap ID.
numberfloorFloor ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/map_floor

Tests

124. getMapNames

Get object of all map names.

Syntax

FW_GW2().getMapNames(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/map_names

Tests

125. getMasteries

Get list of mastery ID's.

Syntax

FW_GW2().getMasteries(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/masteries
2. https://github.com/arenanet/api-cdi/blob/master/v2/masteries.js

Tests

126. getMasteriesByID

Get mastery object(s) from ID(s).

Syntax

FW_GW2().getMasteriesByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidsMastery object ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/masteries
2. https://github.com/arenanet/api-cdi/blob/master/v2/masteries.js

Tests

127. getMastery

Get mastery by ID.

Syntax

FW_GW2().getMastery(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidMastery ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/masteries
2. https://github.com/arenanet/api-cdi/blob/master/v2/masteries.js

Tests

128. getMatch

Get match object (Directly extracts match object from matches object).

Syntax

FW_GW2().getMatch(id,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidMatch ID.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Tests

129. getMatches

Get map of all matches.

Syntax

FW_GW2().getMatches(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/wvw/matches

Tests

130. getMatchDetails

Get match details object by ID.

Syntax

FW_GW2().getMatchDetails(id,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidMatch ID.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/wvw/match_details

Tests

131. getMaterial

Get material object by ID.

Syntax

FW_GW2().getMaterial(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidMaterial ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/materials
2. https://github.com/arenanet/api-cdi/blob/master/v2/materials.js

Tests

132. getMaterials

Get list of all material ID's.

Syntax

FW_GW2().getMaterials(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/materials
2. https://github.com/arenanet/api-cdi/blob/master/v2/materials.js

Tests

133. getMaterialsByID

Get material object(s) from ID(s).

Syntax

FW_GW2().getMaterialsByID(materials,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numbermaterialsMaterial ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/materials
2. https://github.com/arenanet/api-cdi/blob/master/v2/materials.js

Tests

134. getMini

Get mini by ID.

Syntax

FW_GW2().getMini(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidMini ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/minis
2. https://github.com/arenanet/api-cdi/blob/master/v2/minis.js

Tests

135. getMinis

Get list of all mini ID's.

Syntax

FW_GW2().getMinis(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/minis
2. https://github.com/arenanet/api-cdi/blob/master/v2/minis.js

Tests

136. getMinisByID

Get list of mini objects by given list of ID's.

Syntax

FW_GW2().getMinisByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|stringidsList of mini ID's.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/minis
2. https://github.com/arenanet/api-cdi/blob/master/v2/minis.js

Tests

137. getObjectiveNames

Get map of all objective names.

Syntax

FW_GW2().getObjectiveNames(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/wvw/objective_names

Tests

138. getOutfit

Get outfit by ID.

Syntax

FW_GW2().getOutfit(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidOutfit ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/outfits
2. https://github.com/arenanet/api-cdi/blob/master/v2/outfits.js

Tests

139. getOutfits

Get list of outfit ID's.

Syntax

FW_GW2().getOutfits(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/outfits
2. https://github.com/arenanet/api-cdi/blob/master/v2/outfits.js

Tests

140. getOutfitsByID

Get outfit object(s) from ID(s).

Syntax

FW_GW2().getOutfitsByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidsOutfit object ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/outfits
2. https://github.com/arenanet/api-cdi/blob/master/v2/outfits.js

Tests

141. getPet

Get ranger pet by ID.

Syntax

FW_GW2().getPet(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidPet ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pets
2. https://github.com/arenanet/api-cdi/blob/master/v2/pets.js

Tests

142. getPets

Get list of ranger pet ID's.

Syntax

FW_GW2().getPets(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pets
2. https://github.com/arenanet/api-cdi/blob/master/v2/pets.js

Tests

143. getPetsByID

Get ranger pet object(s) from ID(s).

Syntax

FW_GW2().getPetsByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidsPet object ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pets
2. https://github.com/arenanet/api-cdi/blob/master/v2/pets.js

Tests

144. getProfession

Get profession by ID.

Syntax

FW_GW2().getProfession(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidProfession ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/professions
2. https://github.com/arenanet/api-cdi/blob/master/v2/professions.js

Tests

145. getProfessions

Get list of all profession ID's.

Syntax

FW_GW2().getProfessions(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/professions
2. https://github.com/arenanet/api-cdi/blob/master/v2/professions.js

Tests

146. getProfessionsByID

Get list of profession objects by given list of ID's.

Syntax

FW_GW2().getProfessionsByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|stringidsList of profession ID's.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/professions
2. https://github.com/arenanet/api-cdi/blob/master/v2/professions.js

Tests

147. getPvp

Get available PVP APIv2 endpoints.

Syntax

FW_GW2().getPvp(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp

Tests

148. getPvpAmulet

Get PVP amulet by ID.

Syntax

FW_GW2().getPvpAmulet(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidPVP amulet ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp/amulets
2. https://github.com/arenanet/api-cdi/blob/master/v2/pvp/amulets.js

Tests

149. getPvpAmulets

Get PVP amulets from account.

Syntax

FW_GW2().getPvpAmulets(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp/amulets
2. https://github.com/arenanet/api-cdi/blob/master/v2/pvp/amulets.js

Tests

150. getPvpAmuletsByID

Get pvp amulet object(s) from ID(s).

Syntax

FW_GW2().getPvpAmuletsByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidsAmulet object ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp/amulets
2. https://github.com/arenanet/api-cdi/blob/master/v2/pvp/amulets.js

Tests

151. getPvpGame

Get PVP game by ID.

Syntax

FW_GW2().getPvpGame(id,apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidPVP game ID.
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp/games
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/pvp/games.js

Tests

152. getPvpGames

Get PVP games from account.

Syntax

FW_GW2().getPvpGames(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp/games
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/pvp/games.js

Tests

153. getPvpGamesByID

Get pvp game object(s) from ID(s).

Syntax

FW_GW2().getPvpGamesByID(games,apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numbergamesGame object ID(s).
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp/games
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/pvp/games.js

Tests

154. getPvpRank

Get PVP rank by ID.

Syntax

FW_GW2().getPvpRank(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidPVP rank ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp/ranks
2. https://github.com/arenanet/api-cdi/blob/master/v2/pvp/ranks.js

Tests

155. getPvpRanks

Get list of PVP rank ID's.

Syntax

FW_GW2().getPvpRanks(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp/ranks
2. https://github.com/arenanet/api-cdi/blob/master/v2/pvp/ranks.js

Tests

156. getPvpRanksByID

Get PVP rank object(s) from ID(s).

Syntax

FW_GW2().getPvpRanksByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidsRank object ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp/ranks
2. https://github.com/arenanet/api-cdi/blob/master/v2/pvp/ranks.js

Tests

157. getPvpSeason

Get PVP season by ID.

Syntax

FW_GW2().getPvpSeason(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidPVP season ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp/seasons
2. https://github.com/arenanet/api-cdi/blob/master/v2/pvp/seasons.js

Tests

158. getPvpSeasons

Get list of PVP season ID's.

Syntax

FW_GW2().getPvpSeasons(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp/seasons
2. https://github.com/arenanet/api-cdi/blob/master/v2/pvp/seasons.js

Tests

159. getPvpSeasonsByID

Get pvp season object(s) from ID(s).

Syntax

FW_GW2().getPvpSeasonsByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidsSeason object ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp/seasons
2. https://github.com/arenanet/api-cdi/blob/master/v2/pvp/seasons.js

Tests

160. getPvpSeasonsLeaderboardRegion

Get region data from pvp season leaderboard.

Syntax

FW_GW2().getPvpSeasonsLeaderboardRegion(id,board,region,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringidPVP season ID.
stringboardBoard ID of PVP season.
stringregionRegion ID of leaderboard from PVP season.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp/seasons/leaderboards
2. https://github.com/arenanet/api-cdi/blob/master/v2/pvp/season-leaderboards.js

Tests

161. getPvpSeasonsLeaderboardRegions

Get list of regions from pvp season leaderboard.

Syntax

FW_GW2().getPvpSeasonsLeaderboardRegions(id,board,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringidPVP season ID.
stringboardBoard ID of PVP season.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp/seasons/leaderboards
2. https://github.com/arenanet/api-cdi/blob/master/v2/pvp/season-leaderboards.js

Tests

162. getPvpSeasonsLeaderboards

Get list of leaderboards from pvp season.

Syntax

FW_GW2().getPvpSeasonsLeaderboards(id,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringidPVP season ID.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp/seasons/leaderboards
2. https://github.com/arenanet/api-cdi/blob/master/v2/pvp/season-leaderboards.js

Tests

163. getPvpStandings

Get PVP standings from account.

Syntax

FW_GW2().getPvpStandings(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp/standings
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/pvp/standings.js

Tests

164. getPvpStats

Get PVP stats from account.

Syntax

FW_GW2().getPvpStats(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI-Key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/pvp/stats
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/pvp/stats.js

Tests

165. getQuaggan

Get Quaggan object by ID.

Syntax

FW_GW2().getQuaggan(id,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidQuaggan ID.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/quaggans

Tests

166. getQuaggans

Get map of all Quaggan image ID's.

Syntax

FW_GW2().getQuaggans(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/quaggans

Tests

167. getQuaggansByID

Get quaggan resource object(s) by ID's.

Syntax

FW_GW2().getQuaggansByID(quaggans,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|stringquaggansQuaggan ID(s).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/quaggans

Tests

168. getRace

Get race object by ID.

Syntax

FW_GW2().getRace(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringidRace ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/races
2. https://github.com/arenanet/api-cdi/blob/master/v2/races.js

Tests

169. getRaces

Get list of races.

Syntax

FW_GW2().getRaces(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/races
2. https://github.com/arenanet/api-cdi/blob/master/v2/races.js

Tests

170. getRacesByID

Get race object(s) by ID's.

Syntax

FW_GW2().getRacesByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|stringidsRace ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/races
2. https://github.com/arenanet/api-cdi/blob/master/v2/races.js

Tests

171. getRaid

Get raid object by ID.

Syntax

FW_GW2().getRaid(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringidRaid ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/raids
2. https://github.com/arenanet/api-cdi/blob/master/v2/raids.js

Tests

172. getRaids

Get list of raids.

Syntax

FW_GW2().getRaids(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/raids
2. https://github.com/arenanet/api-cdi/blob/master/v2/raids.js

Tests

173. getRaidsByID

Get raid object(s) by ID's.

Syntax

FW_GW2().getRaidsByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|stringidsRaid ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/raids
2. https://github.com/arenanet/api-cdi/blob/master/v2/raids.js

Tests

174. getRecipe

Get recipe object by ID.

Syntax

FW_GW2().getRecipe(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
},version); // object

Parameters

TypNameBeschreibung
numberidRecipe ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.
numberversionAPI version (1|2).

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/recipe_details
2. https://wiki.guildwars2.com/wiki/API:2/recipes
3. https://github.com/arenanet/api-cdi/blob/master/v2/recipes.js

Tests

175. getRecipes

Get list of recipe ID's.

Syntax

FW_GW2().getRecipes(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/recipes
2. https://github.com/arenanet/api-cdi/blob/master/v2/recipes.js

Tests

176. getRecipesByID

Get recipe object(s) by ID(s).

Syntax

FW_GW2().getRecipesByID(recipes,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberrecipesRecipe ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/recipes
2. https://github.com/arenanet/api-cdi/blob/master/v2/recipes.js

Tests

177. getRecipeSearch

Get recipe search result object based on method and ID.

Syntax

FW_GW2().getRecipeSearch(method,id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringmethodSearch method (input|output).
numberidItem ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/recipes/search

Tests

178. getRenderURL

Get render URL.

Syntax

FW_GW2().getRenderURL(signature,id,format); // string

Parameters

TypNameBeschreibung
stringsignatureFile signature.
numberidFile ID.
stringformatFile format.

Returns

string - Render URL.

Tests

179. getSkill

Get skill by ID.

Syntax

FW_GW2().getSkill(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidSkill ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/skills
2. https://github.com/arenanet/api-cdi/blob/master/v2/skills/skills.js

Tests

180. getSkills

Get list of all skill ID's.

Syntax

FW_GW2().getSkills(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/skills
2. https://github.com/arenanet/api-cdi/blob/master/v2/skills/skills.js

Tests

181. getSkillsByID

Get list of skill objects by given list of ID's.

Syntax

FW_GW2().getSkillsByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|stringidsList of skill ID's.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/skills
2. https://github.com/arenanet/api-cdi/blob/master/v2/skills/skills.js

Tests

182. getSkin

Get skin object by ID.

Syntax

FW_GW2().getSkin(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
},version); // object

Parameters

TypNameBeschreibung
numberidSkin ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.
numberversionAPI version (1|2).

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/skin_details
2. https://wiki.guildwars2.com/wiki/API:2/skins
3. https://github.com/arenanet/api-cdi/blob/master/v2/skins.js

Tests

183. getSkins

Get list of all skin ID's.

Syntax

FW_GW2().getSkins(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
},version); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.
numberversionAPI version (1|2).

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/skins
2. https://wiki.guildwars2.com/wiki/API:2/skins
3. https://github.com/arenanet/api-cdi/blob/master/v2/skins.js

Tests

184. getSkinsByID

Get skin object(s) by ID(s).

Syntax

FW_GW2().getSkinsByID(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidSkin ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/skins
2. https://wiki.guildwars2.com/wiki/API:2/skins
3. https://github.com/arenanet/api-cdi/blob/master/v2/skins.js

Tests

185. getSpecialization

Get specialization by ID.

Syntax

FW_GW2().getSpecialization(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidSpecialization ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/specializations
2. https://github.com/arenanet/api-cdi/blob/master/v2/specializations/specializations.js

Tests

186. getSpecializations

Get list of specialization ID's.

Syntax

FW_GW2().getSpecializations(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/specializations
2. https://github.com/arenanet/api-cdi/blob/master/v2/specializations/specializations.js

Tests

187. getSpecializationsByID

Get specialization object(s) from ID(s).

Syntax

FW_GW2().getSpecializationsByID(specializations,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|stringspecializationsArray of specialization ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/specializations
2. https://github.com/arenanet/api-cdi/blob/master/v2/specializations/specializations.js

Tests

188. getStory

Get story by ID.

Syntax

FW_GW2().getStory(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidStory ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/stories
2. https://github.com/arenanet/api-cdi/blob/master/v2/stories/index.js

Tests

189. getStories

Get list of story ID's.

Syntax

FW_GW2().getStories(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/stories
2. https://github.com/arenanet/api-cdi/blob/master/v2/stories/index.js

Tests

190. getStoriesByID

Get story object(s) from ID(s).

Syntax

FW_GW2().getStoriesByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidsStory object ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/stories
2. https://github.com/arenanet/api-cdi/blob/master/v2/stories/index.js

Tests

191. getStorySeason

Get story season by ID.

Syntax

FW_GW2().getStorySeason(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidSeason ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/stories/seasons
2. https://github.com/arenanet/api-cdi/blob/master/v2/stories/seasons.js

Tests

192. getStorySeasons

Get list of story season ID's.

Syntax

FW_GW2().getStorySeasons(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/stories/seasons
2. https://github.com/arenanet/api-cdi/blob/master/v2/stories/seasons.js

Tests

193. getStorySeasonsByID

Get story season object(s) from ID(s).

Syntax

FW_GW2().getStorySeasonsByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidsStory object ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/stories/seasons
2. https://github.com/arenanet/api-cdi/blob/master/v2/stories/seasons.js

Tests

194. getTileURL

Get tile URL.

Syntax

FW_GW2().getTileURL(id,floor,zoom,x,y,alias); // string

Parameters

TypNameBeschreibung
numberidTile ID.
numberfloorFloor ID.
numberzoomZoom factor.
numberxX coordinate.
numberyY coordinate.
numberaliasDomain alias.

Returns

string - Tile URL.

Tests

195. getTitle

Get title by ID.

Syntax

FW_GW2().getTitle(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidTitle ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/titles
2. https://github.com/arenanet/api-cdi/blob/master/v2/titles.js

Tests

196. getTitles

Get list of title ID's.

Syntax

FW_GW2().getTitles(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/titles
2. https://github.com/arenanet/api-cdi/blob/master/v2/titles.js

Tests

197. getTitlesByID

Get title object(s) from ID(s).

Syntax

FW_GW2().getTitlesByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidsTitle object ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/titles
2. https://github.com/arenanet/api-cdi/blob/master/v2/titles.js

Tests

198. getTokeninfo

Get token info object.

Syntax

FW_GW2().getTokeninfo(apiKey,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI key.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/tokeninfo
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/tokeninfo/tokeninfo.js

Tests

199. getTradeListing

Get trade listing object by ID.

Syntax

FW_GW2().getTradeListing(id,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidTrade listing ID.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/commerce/listings
2. https://github.com/arenanet/api-cdi/blob/master/v2/commerce/listings.js

Tests

200. getTradeListings

Get trade listing map by given list of ID's.

Syntax

FW_GW2().getTradeListings(items,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberitemsItem ID(s).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/commerce/listings
2. https://github.com/arenanet/api-cdi/blob/master/v2/commerce/listings.js

Tests

201. getTradePrice

Get trade price object by ID.

Syntax

FW_GW2().getTradePrice(id,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidItem ID.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/commerce/prices
2. https://github.com/arenanet/api-cdi/blob/master/v2/commerce/prices.js

Tests

202. getTradePrices

Get trade prices map by given list of ID's.

Syntax

FW_GW2().getTradePrices(items,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberitemsItem ID(s).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/commerce/prices
2. https://github.com/arenanet/api-cdi/blob/master/v2/commerce/prices.js

Tests

203. getTradeTransactions

Get trade transactions map by category and type.

Syntax

FW_GW2().getTradeTransactions(apiKey,category,type,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringapiKeyAPI key.
stringcategoryTransaction category (current|history).
stringtypeTransaction type (buy|sell).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/commerce/transactions
2. https://account.arena.net/applications
3. https://github.com/arenanet/api-cdi/blob/master/v2/commerce/transactions/transactions.js

Tests

204. getTrait

Get trait by ID.

Syntax

FW_GW2().getTrait(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidTrait ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/traits
2. https://github.com/arenanet/api-cdi/blob/master/v2/traits/traits.md

Tests

205. getTraits

Get list of trait ID's.

Syntax

FW_GW2().getTraits(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/traits
2. https://github.com/arenanet/api-cdi/blob/master/v2/traits/traits.md

Tests

206. getTraitsByID

Get trait object(s) from ID(s).

Syntax

FW_GW2().getTraitsByID(traits,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|stringtraitsArray of trait ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/traits
2. https://github.com/arenanet/api-cdi/blob/master/v2/traits/traits.md

Tests

207. getWorld

Get world object by ID.

Syntax

FW_GW2().getWorld(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidWorld ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/worlds
2. https://github.com/arenanet/api-cdi/blob/master/v2/worlds.js

Tests

208. getWorlds

Get list of all world ID's.

Syntax

FW_GW2().getWorlds(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/worlds
2. https://github.com/arenanet/api-cdi/blob/master/v2/worlds.js

Tests

209. getWorldsByID

Get map of worlds by ID.

Syntax

FW_GW2().getWorldsByID(worlds,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
objectworldsList of world ID's.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/worlds
2. https://github.com/arenanet/api-cdi/blob/master/v2/worlds.js

Tests

210. getWorldsByPage

Get map of worlds by page.

Syntax

FW_GW2().getWorldsByPage(page,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberpagePage number.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/worlds
2. https://github.com/arenanet/api-cdi/blob/master/v2/worlds.js

Tests

211. getWorldNames

Get map of world names.

Syntax

FW_GW2().getWorldNames(lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:1/world_names

Tests

212. getWvw

Get list of all WvW APIv2 endpoints.

Syntax

FW_GW2().getWvw(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw

Tests

213. getWvwAbilities

Get list of all wvw ability ID's.

Syntax

FW_GW2().getWvwAbilities(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/abilities
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/abilities.js

Tests

214. getWvwAbilitiesByID

Get wvw ability object(s) from ID(s).

Syntax

FW_GW2().getWvwAbilitiesByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidsWvW ability ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/abilities
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/abilities.js

Tests

215. getWvwAbility

Get wvw ability object by ID.

Syntax

FW_GW2().getWvwAbility(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
number|stringidWvW ability ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/abilities
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/abilities.js

Tests

216. getWvwMatch

Get wvw match object by ID.

Syntax

FW_GW2().getWvwMatch(id,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
number|stringidWvW match ID or World ID.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/matches
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/matches.json

Tests

217. getWvwMatches

Get list of all wvw match ID's.

Syntax

FW_GW2().getWvwMatches(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/matches
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/matches.json

Tests

218. getWvwMatchesByID

Get wvw match object(s) from ID(s).

Syntax

FW_GW2().getWvwMatchesByID(ids,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|number|stringidsWvW match ID(s).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/matches
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/matches.json

Tests

219. getWvwMatchesOverview

Get wvw match overview object by ID.

Syntax

FW_GW2().getWvwMatchesOverview(id,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
number|stringidWvW match ID or World ID.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/matches
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/matches-overview.js

Tests

220. getWvwMatchesOverviews

Get list of all wvw match overview ID's.

Syntax

FW_GW2().getWvwMatchesOverviews(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/matches
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/matches-overview.js

Tests

221. getWvwMatchesOverviewsByID

Get wvw match overview object(s) from ID(s).

Syntax

FW_GW2().getWvwMatchesOverviewsByID(ids,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|number|stringidsWvW match ID(s).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/matches
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/matches-overview.js

Tests

222. getWvwMatchesScore

Get wvw match score object by ID.

Syntax

FW_GW2().getWvwMatchesScore(id,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
number|stringidWvW match ID or World ID.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/matches
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/matches-scores.js

Tests

223. getWvwMatchesScores

Get list of all wvw match score ID's.

Syntax

FW_GW2().getWvwMatchesScores(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/matches
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/matches-scores.js

Tests

224. getWvwMatchesScoresByID

Get wvw match score object(s) from ID(s).

Syntax

FW_GW2().getWvwMatchesScoresByID(ids,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|number|stringidsWvW match ID(s).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/matches
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/matches-scores.js

Tests

225. getWvwMatchesStat

Get wvw match stats object by ID.

Syntax

FW_GW2().getWvwMatchesStat(id,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
number|stringidWvW match ID or World ID.
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/matches
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/matches-stats.js

Tests

226. getWvwMatchesStats

Get list of all wvw match stats ID's.

Syntax

FW_GW2().getWvwMatchesStats(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/matches
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/matches-stats.js

Tests

227. getWvwMatchesStatsByID

Get wvw match stats object(s) from ID(s).

Syntax

FW_GW2().getWvwMatchesStatsByID(ids,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|number|stringidsWvW match ID(s).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/matches
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/matches-stats.js

Tests

228. getWvwObjective

Get wvw objectives object by ID.

Syntax

FW_GW2().getWvwObjective(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
numberidWvW objectives ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/objectives
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/objectives.js

Tests

229. getWvwObjectives

Get list of all wvw objectives ID's.

Syntax

FW_GW2().getWvwObjectives(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/objectives
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/objectives.js

Tests

230. getWvwObjectivesByID

Get wvw objectives object(s) from ID(s).

Syntax

FW_GW2().getWvwObjectivesByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidsWvW objectives ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/objectives
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/objectives.js

Tests

231. getWvwRank

Get wvw rank object by ID.

Syntax

FW_GW2().getWvwRank(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
number|stringidWvW rank ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/ranks
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/ranks.js

Tests

232. getWvwRanks

Get list of all wvw rank ID's.

Syntax

FW_GW2().getWvwRanks(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/ranks
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/ranks.js

Tests

233. getWvwRanksByID

Get wvw rank object(s) from ID(s).

Syntax

FW_GW2().getWvwRanksByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidsWvW rank ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/ranks
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/ranks.js

Tests

234. getWvwUpgrade

Get wvw upgrade object by ID.

Syntax

FW_GW2().getWvwUpgrade(id,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
number|stringidWvW upgrade ID.
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/upgrades
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/upgrades.js

Tests

235. getWvwUpgrades

Get list of all wvw upgrade ID's.

Syntax

FW_GW2().getWvwUpgrades(function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/upgrades
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/upgrades.js

Tests

236. getWvwUpgradesByID

Get wvw upgrade object(s) from ID(s).

Syntax

FW_GW2().getWvwUpgradesByID(ids,lang,function(data,event) {
	var result = data;
},function(status,text,data,event) {
	console.log(status,text,data,event);
}); // object

Parameters

TypNameBeschreibung
object|numberidsWvW upgrade ID(s).
stringlangLanguage keyword (en|de|es|fr|zh).
functiondoSuccessCallback function for success.
functiondoErrorCallback function for error.

Returns

object - Current FW_GW2 object instance.

Also see

1. https://wiki.guildwars2.com/wiki/API:2/wvw/upgrades
2. https://github.com/arenanet/api-cdi/blob/master/v2/wvw/upgrades.js

Tests

237. stringifyArray

Stringify array.

Syntax

FW_GW2().stringifyArray(array); // string

Parameters

TypNameBeschreibung
objectarrayThe array.

Returns

string - Stringified array.

Tests

238. toCoins

Convert number to object for gold, silver and copper .

Syntax

FW_GW2().toCoins(n); // object

Parameters

TypNameBeschreibung
numbernThe number.

Returns

object - Object with gold, silver and copper values.

Tests

239. toHTMLCoins

Convert number to HTML code for gold, silver and copper .

Syntax

FW_GW2().toHTMLCoins(n,c); // string

Parameters

TypNameBeschreibung
numbernThe number.
objectcImage configuration.

Returns

string - HTML code to display coins.

Tests

240. toHTMLGems

Convert number to HTML code for gems.

Syntax

FW_GW2().toHTMLGems(n,c); // string

Parameters

TypNameBeschreibung
numbernThe number.
objectcImage configuration.

Returns

string - HTML code to display gems.

Tests

241. toInteger

Convert numbers of gold, silver and copper to one number value.

Syntax

FW_GW2().toInteger(g,s,c); // number

Parameters

TypNameBeschreibung
numbergAmount of gold.
numbersAmount of silver.
numbercAmount of copper.

Returns

number - The integer of gold, silver and copper values.

Tests

0q 0.06565499306s