qq-sheet
Install
$ npm i qq-sheet --save
Usage
const QQSheet = ;const path = ; const qqSheetUrl = 'https://docs.qq.com/sheet/BqI21X2yZIht1487cQ1mHxFy1TyDtE4E6MIS0zk6GT2sYPhU2IQmKC2Cjyb92FLz9g0PQHVH22S2IO11cq4u0';// Example 1// An xlsx file will be generated and the file path will be returned.const qqSheet1 = qqSheetUrl filepath: path;const xlsxFilePath = qqSheet1; // Example 2// Returns an array in which each item represents a worksheet.const qqSheet2 = qqSheetUrl;const qqSheetData = qqSheet2;
Tips
- Web pages need to be authorized to anonymous users.
- Because anonymous users can't download documents, we use the method of parsing interface data.