Using python-slack-sdk with slack.com

Python integration

Install

pip install python-slack-sdk

Quick start

import python-slack-sdk

client = python_slack_sdk.Client("YOUR_API_KEY")
Search for messages matching a query
curl \
  https://slack.com/api/ai.alpha.search.messages
SDK on GitHub 📄 API Docs
SDK
python-slack-sdk
Python
API
slack.com
slack.com:openai

At a glance

Language Python
Endpoints1
Base URLhttps://slack.com/api