tree: f417d6d845254a18f50eb06e943e376811faa22d [path history] [tgz]
  1. apimodels/
  2. models/
  3. feishu.go
  4. README-zh-CN.md
  5. README.md
plugins/feishu/README.md

Feishu

English中文

Summary

This plugin collects Feishu data through Feishu Openapi.

Configuration

In order to fully use this plugin, you will need to get app_id and app_secret from feishu administrator(For help on App info, please see official Feishu Docs), then set these two configurations via Dev Lake's .env.

By .env

The connection aspect of the configuration screen requires the following key fields to connect to the Feishu API. As Feishu is a single-source data provider at the moment, the connection name is read-only as there is only one instance to manage. As we continue our development roadmap we may enable multi-source connections for Feishu in the future.

FEISHU_APPID=app_id

FEISHU_APPSCRECT=app_secret

Collect Data From Feishu

In order to collect data, you have to compose a JSON looks like following one, and send it via Triggers page on config-ui: numOfDaysToCollect: The number of days you want to collect rateLimitPerSecond: The number of requests to send(Maximum is 8)

[
  [
    {
      "plugin": "feishu",
      "options": {
        "numOfDaysToCollect" : 80,
        "rateLimitPerSecond" : 5
      }
    }
  ]
]