UNPKG

tp-cloud-sdk

Version:

A Node.js SDK for TP-LINK Commercial Cloud Platform with signature authentication

40 lines (27 loc) 945 B
# TP-LINK Commercial Cloud SDK A Node.js SDK for TP-LINK Commercial Cloud Platform with HMAC-SHA256 signature authentication. ## Documentation Please see the detailed documentation in the [docs](docs/) directory: - [SDK README](docs/SDK_README.md) - Main documentation for using the SDK - [API Documentation](docs/API_SDK_DOCUMENTATION.md) - Detailed API reference - [Publishing Guide](docs/PUBLISHING_GUIDE.md) - Guide for publishing the SDK ## Quick Start ```bash npm install tp-cloud-sdk ``` ```javascript const { TpCloudSDK } = require('tp-cloud-sdk'); // Initialize SDK const sdk = new TpCloudSDK(); // Use device management APIs const deviceInfo = await sdk.deviceManager.getDeviceDetails({ qrCode: 'device_qr_code' }); ``` ## Project Structure - [src/](src/) - Source code for the SDK - [docs/](docs/) - Documentation files - [tests/](tests/) - Test files and examples - [__tests__/](__tests__/) - Unit tests ## License MIT