SDK for integrating with the Nayota Impossible Show platform (REST API). Current stable version 1.3.102. Provides auto-configured API modules (e.g., alarmRecord, deviceManagement) with token-based auth stored in cookies. Key differentiator: pre-built module-based interface generation from the Nayota config service, reducing boilerplate for Nayota ecosystem apps. Release cadence is regular (patch version increments). Primarily used in Chinese-speaking development communities.
npm install nayota-show-sdkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes the SDK with config, then calls list methods on alarmRecord and deviceManagement modules.
Use NayotaSdk.config({ authTokenName: 'Your-Cookie-Key', ... }) instead of { token: '...' }.Use alarmRecord.create() instead of alarmRecord.createOne().
Ensure the browser/client environment supports cookies. For server-side usage, implement a custom token provider.
Use import { alarmRecord } from 'nayota-show-sdk' then access alarmRecord.list.Switch to ES module import: import NayotaSdk from 'nayota-show-sdk'
Call NayotaSdk.config({...}) before any module method calls.Run npm install nayota-show-sdk. If using TypeScript, ensure 'esModuleInterop' is true in tsconfig.
No dependency data recorded yet.