qq-sheet

0.0.1 • Public • Published

qq-sheet

build status Coverage Status npm version license

Install

$ npm i qq-sheet --save

Usage

const QQSheet = require('qq-sheet');
const path = require('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 = new QQSheet(qqSheetUrl, {filepath: path.join(__dirname, 'qqSheet.xlsx')});
const xlsxFilePath = qqSheet1.parse();
 
// Example 2
// Returns an array in which each item represents a worksheet.
const qqSheet2 = new QQSheet(qqSheetUrl);
const qqSheetData = qqSheet2.parse();

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.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i qq-sheet

Weekly Downloads

4

Version

0.0.1

License

MIT

Unpacked Size

13.8 kB

Total Files

12

Last publish

Collaborators

  • diyao