1.0.8 • Published 4 years ago

shimo-sheet2json v1.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Shimo 表格获取工具

该项目为石墨表格获取工具,使用用户名密码验证,并获取特定表格所有内容,返回指定 json 格式。

安装

npm install -s shimo-sheet2json

使用

const client = new ShimoSheetFetcher({
  username: 'username',
  password: 'password',
  clientId: 'clientId',
  clientSecret: 'clientSecret'
});
const fileContent = await client.getFileData({
  guid: 'sheetId',
  sheetName: '工作表1',
  skipHead: 1,
  columns: [{
    name: 'name'
  }, {
    name: 'area'
  }, {
    name: 'time'
  }, {
    name: 'link'
  }, {
    name: 'remark'
  }]
});

License

MIT

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago