Slack¶
pip install kpireport-slack
Output a report to one or more Slack channel(s). Because Slack has its own flavor of Markdown, which does not support many of the “standard” Markdown features, it has its own output format. All view plugins provided by KPI Reporter have support for outputting to Slack, but third-party plugins may not.
API¶
- class kpireport_slack.SlackOutputDriver(report: Report, **kwargs)¶
Bases:
OutputDriver
Send a report to one or more Slack channel(s).
- api_token¶
a Slack API token with authorization to publish a message to the target channel.
- Type
str
- channels¶
a list of Slack channels to publish the report to.
- Type
List[str]
- image_remote_base_url¶
a base URL where blob assets (images etc.) are served. It is highly recommended to use another plugin, such as the S3 or SCP (secure copy) plugin, in order to place the assets in the expected folder structure.
- Type
str
Changelog¶
0.0.1¶
Prelude¶
Initial commit.
New Features¶
Initial commit.