Releases: xhsun/gw2wrapper
Minor Updates And Bug Fixes
Updates
- Added the ability to instantiate new
GuildWars2
instance using customOkHttpClient
- Added the ability to retrieve current language setting using
GuildWars2.getLanguage()
ItemDetail
is now a abstract classGuildWars2
is now a final class
Bug Fixes
- #34: Enable downcast for
details
field inItem
class
Bug Fixes
Language Selection
New Feature
-
Added the ability to set language using
GuildWars2.setLanguage(LanguageSelect)
. If you don't call this method, the language will default to English.- List of possible language: English (Default), German, Spanish, French, and Chinese
Updates
-
Added
PathOfFire
to Access enum in Account class -
Added
Unknown
to Region enum- As of right now (Oct 1st, 2017),
Unknown
represents all PoF regions
- As of right now (Oct 1st, 2017),
-
Removed
GuildWars2Exception
from throw list for some API:1 methods, since they don't actually throw it
Bug Fixes
-
Fixed a bug that were caused by incorrect response body type for delivery API
-
Fixed #24 : which is caused by incorrect field type for
access
field in Account class
Hot Fix
Bug Fix
- Fixed a typo in /v2/account/achievements that cause it to point to the wrong endpoint
- Fixed a bug in CharacterSAB class that cause Gson to unable to instantiate the class
- Fixed a bug in Pet class that cause Gson to unable to instantiate the class
- Deprecated some getter method in AllWvWMatchOverview class and EventDetail class
Hot Fix
API Version 1 and More
New Available Endpoints:
-
/v1/event_detail.json
-
/v1/map_names.json
-
/v1/world_names.json
-
/v1/wvw/matches.json
-
/v1/wvw/objective_names.json
New Utility Functions:
-
Function that returns root id from a combined id (ie, get 38 from 38-11)
-
Function that strip HTML tag from a given string
-
Function that strip HTML tag and string enclosed by HTML tag from a given string
-
Function that extract id from chat link
Bug Fixes:
- Fixed a bug in error code parser that caused Gson parsing error
All API:2 endpoints
- All API:2 endpoints are available as of this release
This release is not compatible with older versions
More specifically, the following changes cause the incompatibility:
-
move all model class for API:2 to model/v2/
-
move content in unlockable package to appropriate location
-
rename a few classes
-
rename getAccount() to getAccountInfo()
-
rename getListing() to getTPTransaction()
Character and relevent Endpoints
New Available Endpoints:
-
/v2/backstory/*
-
/v2/build
-
/v2/cats
-
/v2/characters
-
/v2/continents
-
/v2/professions
-
/v2/pvp/amulets
-
/v2/skills
-
/v2/specializations
-
/v2/traits
-
/v2/wvw/abilities
Release All Account Endpoints
New endpoints:
-
/v2/account/achievements
-
/v2/account/dungeons
-
/v2/account/dyes
-
/v2/account/finishers
-
/v2/account/gliders
-
/v2/account/home/cats
-
/v2/account/home/nodes
-
/v2/account/mailcarriers
-
/v2/account/masteries
-
/v2/account/minis
-
/v2/account/outfits
-
/v2/account/pvp/heroes
-
/v2/account/raids
-
/v2/account/recipes
-
/v2/account/skins
-
/v2/account/titles
-
/v2/achievements
-
/v2/colors
-
/v2/dungeons
-
/v2/finishers
-
/v2/gliders
-
/v2/guild/upgrades
-
/v2/mailcarriers
-
/v2/masteries
-
/v2/minis
-
/v2/outfits
-
/v2/pvp/heroes
-
/v2/raids
-
/v2/recipes
-
/v2/recipes/search
-
/v2/titles
First Release
Available endpoints:
- /v2/account
- /v2/account/bank
- /v2/account/inventory
- /v2/account/materials
- /v2/account/wallet
- /v2/characters/<name>/core
- /v2/characters/<name>/inventory
- /v2/commerce/prices
- /v2/commerce/transactions
- /v2/currencies
- /v2/items
- /v2/itemstats
- /v2/materials
- /v2/skins
- /v2/tokeninfo
- /v2/worlds