{"library":"cw-rest-api","type":"library","category":null,"description":"cw-rest-api is a Node.js wrapper and HTTP REST API server for the ChatWars MMORPG Telegram game. Version 1.8.0 provides a promise-based interface to interact with the ChatWars API, including user profile retrieval, stock information, and trade commands (buy/sell). It uses AMQP for messaging with automatic reconnection via node-amqp-connection-manager. The package requires Node.js >=8.11.3 and is designed for building Telegram bots or other applications that automate gameplay. Key differentiators: provides both a programmatic Node.js API and a standalone HTTP server, supports authentication flow via Telegram, and offers real-time trade capabilities. Release cadence appears to be sporadic, with last update in 2018.","language":"javascript","status":"abandoned","version":"1.8.0","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cw-rest-api","imports":["import CWExchange from 'cw-rest-api';","const CWExchange = require('cw-rest-api').default;","import CWExchange from 'cw-rest-api';"]},{"cmd":"yarn add cw-rest-api","imports":[]},{"cmd":"pnpm add cw-rest-api","imports":[]}],"homepage":"https://github.com/alevinru/CWClient#readme","github":"ssh://git@github.com/alevinru/CWClient","docs":null,"changelog":null,"pypi":null,"npm":"cw-rest-api","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}