定制 iainp999/gbot-google-sheets 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

iainp999/gbot-google-sheets

Composer 安装命令:

composer require iainp999/gbot-google-sheets

包简介

Writes GlitcherBot data to Google sheets.

README 文档

README

Listens for glitcherbot crawling events, gathers data, and will write data to Google sheets at the end of the crawl.

The sheet is written to Google Drive in the root folder, and has the title 'GlitcherBot Data' (unless you specify an existing sheet ID - see below).

Configuration

You will need to create a new application via the Google developer's console and create some OAUTH2 credentials with permissions to write to Google sheets. The type should be 'Desktop App'.

Once done, download your credentials.json file and place it in the GoogleSheets folder.

On first run, you will be given a URL to authenticate against. Open this in a browser. You'll receive a code that you'll need to copy and paste into the console window. Once authorised, a refresh token is stored in token.json in the GoogleSheets folder. You may be required to repeat this process from time to time.

Re-using an existing sheet

To append data to an existing sheet, create a config.yaml file in the GoogleSheets folder and set the value of sheet_id to the ID of the sheet you want to use. See example.config.yaml for the format.

If config.yaml does not exist, on the first run, a sheet will be created and the config.yaml file will be created and populated so that the same sheet is used on subsequent runs.

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2021-03-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固