API 2.8.0
- Added
- Changed
- Fixed
- Security
v2.8.0
Added
GET /v2/wiki/items/{id}: a Raw Tibia item by its id in the game by Remeres and OTC, with name, description, flags (market, NPC trade, light, elevation and more) and sprite groups. An item removed still answers, withactive: false.GET /v2/wiki/items: up to 100 items at once withids=, or a search byname,categoryandnamed, 100 per page. Ids that do not exist come back innot_found.- The item routes require an API token. Without one they answer 401
token_required. Every answer carries the game version, the publication date and the CipSoft attribution. GET /v2/wiki/items/{id}/imageandGET /v2/wiki/sprites/{sha256}.png: the item picture and the sprites as PNG. No token is needed. They have their own limit per IP, outside the token quota, and can be cached for a long time.GET /v2/wiki/creaturesandGET /v2/wiki/creatures/{name}: creatures with stats and loot (with rarity).GET /v2/wiki/npcsandGET /v2/wiki/npcs/{name}: NPCs with what each one buys and sells.GET /v2/wiki/spellsandGET /v2/wiki/spells/{name}: spells with all stats.GET /v2/wiki/achievementsandGET /v2/wiki/achievements/{name}: every achievement with the in-game id, grade (1 to 4), points, secret and premium. The description and the spoiler (how to get it) come in separate fields. The list includes achievements that can no longer be obtained or were removed;obtainableandremovedlet you filter them.- Names in the detail routes are case-insensitive.
Changed
- Version 2.8.0 in
X-API-Version, ininfo.versionof both OpenAPI files, and in the v2 contract.
Fixed
- The documentation gave the achievement grade as 1 to 3. It is 1 to 4.