基于node.js的天翼网盘sdk
- 安装依赖
npm install cloud189-sdk- 初始化
const { CloudClient } = require('cloud189-sdk') // 使用账号密码初始化 const client = new CloudClient({ username: 'username', password: 'password' })- 使用
const info = await client.getUserSizeInfo() console.log(info)