UNPKG

@arkhamintelligence/sdk

Version:
34 lines (23 loc) 600 B
# Arkham Intelligence TypeScript SDK This is the generated TypeScript SDK for the Arkham Intelligence API. ## Installation ```bash npm install @arkhamintelligence/sdk ``` ## Quick Start ```typescript import { Arkham, ArkhamWebSocket } from "@arkhamintelligence/sdk"; // REST API const api = new Arkham(); const data = await api.getPairs(); // WebSocket const ws = new ArkhamWebSocket(); await ws.connect(); const unsubscribe = ws.candles({ symbol: "BTC-USD" }, console.log); ``` See the `examples/` directory for more detailed usage examples. ## Build ```bash npm install npm run build ```