forked from vishnevskiy/battlenet
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
- Achievement data ( us.battle.net/api/wow/data/character/achievements )
- Guild achievement data ( us.battle.net/api/wow/data/guild/achievements )
- Quest data ( us.battle.net/api/wow/quest/%questid% ), should probably be cached in one way or another.
- PvP ladders ( us.battle.net/api/wow/pvp/arena/%(battlegroup)s/%(teamsize)s?size=%(num)d ), where battlegroup can be any battlegroup available on that region, type can be 2v2, 3v3 or 5v5 and size is the number of teams to get.
- Arena team API ( us.battle.net/api/wow/arena/%(realm)s/%(teamsize)s/%teamname)s
- Auction API support
- Proper l10n, there is currently no decent way to get localized talent / class names from the API. (Talents are the real issue here, as there is no data resource stating all the localized spec names. ) While the official specifications list the use of, for example, fr_FR as locale, just fr will work fine too.
- The 'quests' and 'pvp' fields for characters aren't parsed at all right now.
- Proper error handling, any APIError now returns a CharacterNotFound exception, which isn't really supposed to happen. Connection errors, for example, should return a different exception.
Support for all the custom API errors listed in the custom documentation should be added. (For a quick fix, character errors will return a 404, server/library/permission errors will return a 500) - Lookups always have the same cost, regardless of the fields specified. Users should be persuaded to, by default, ask for all theoretically required fields during the first API request.
The library should probably have a functional split in two: One part which handles dynamic data (characters, guild, AH et cetera) and one static part which handles quest / achievement / l10n data. The second part would benefit from in-library caching, maybe with a proper way to export / import cache data? (An issue here could be expiration of data, although it shouldn't change too often. ( We could maybe even support a file with full data and keep it refreshed, that would allow people to simply diff an online database ) )
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels