From c08b30e52d8e64ee6543e2052c271b26f01bd46e Mon Sep 17 00:00:00 2001 From: Aether Date: Mon, 23 Feb 2026 19:47:58 +0000 Subject: [PATCH] Update API docs: remove EntropiaNexus references, use generic Item Database API --- docs/API_DOCUMENTATION.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/API_DOCUMENTATION.md b/docs/API_DOCUMENTATION.md index 0818e3d..c27c628 100644 --- a/docs/API_DOCUMENTATION.md +++ b/docs/API_DOCUMENTATION.md @@ -52,17 +52,17 @@ const loot = await api.readLogFiltered('Loot:'); ### Window Manager ```typescript -// Get EU window info -const window = await api.getEUWindow(); +// Get game window info +const window = await api.getGameWindow(); // Check focus -const focused = await api.isEUFocused(); +const focused = await api.isGameFocused(); // Bring to front -await api.bringEUToFront(); +await api.bringGameToFront(); // Capture screenshot -const screenshot = await api.captureEUWindow(); +const screenshot = await api.captureGameWindow(); ``` **WindowInfo:** @@ -97,13 +97,13 @@ const text = await api.recognizeText({ --- -### Nexus API +### Item Database API ```typescript // Search items -const results = await api.searchNexus({ - query: 'omegaton', - entityType: 'weapons', +const results = await api.searchItems({ + query: 'weapon', + category: 'equipment', limit: 10 }); @@ -113,7 +113,7 @@ const details = await api.getItemDetails('12345'); **SearchResult:** ```typescript -interface NexusItem { +interface Item { id: string; name: string; type: string; @@ -260,17 +260,17 @@ interface PluginAPI { readLogFiltered(pattern: string): Promise; // Window - getEUWindow(): Promise; - isEUFocused(): Promise; - bringEUToFront(): Promise; - captureEUWindow(): Promise; // base64 + getGameWindow(): Promise; + isGameFocused(): Promise; + bringGameToFront(): Promise; + captureGameWindow(): Promise; // base64 // OCR ocrAvailable(): Promise; recognizeText(region: Region): Promise; - // Nexus - searchNexus(params: SearchParams): Promise; + // Item Database + searchItems(params: SearchParams): Promise; getItemDetails(itemId: string): Promise; // HTTP