Package slack_sdk

Here is the list of key modules in this SDK:

Web API Client

Webhook / response_url Client

Socket Mode Client

OAuth

Audit Logs API Client

SCIM API Client

Expand source code
"""
* The SDK website: https://slack.dev/python-slack-sdk/
* PyPI package: https://pypi.org/project/slack-sdk/

Here is the list of key modules in this SDK:

#### Web API Client

* Web API client: `slack_sdk.web.client`
* asyncio-based Web API client: `slack_sdk.web.async_client`

#### Webhook / response_url Client

* Webhook client: `slack_sdk.webhook.client`
* asyncio-based Webhook client: `slack_sdk.webhook.async_client`

#### Socket Mode Client

* The built-in Socket Mode client: `slack_sdk.socket_mode.builtin.client`
* [aiohttp](https://pypi.org/project/aiohttp/) based client: `slack_sdk.socket_mode.aiohttp`
* [websocket_client](https://pypi.org/project/websocket-client/) based client: `slack_sdk.socket_mode.websocket_client`
* [websockets](https://pypi.org/project/websockets/) based client: `slack_sdk.socket_mode.websockets`

#### OAuth

* `slack_sdk.oauth.installation_store.installation_store`
* `slack_sdk.oauth.state_store`

#### Audit Logs API Client

* `slack_sdk.audit_logs.v1.client`
* `slack_sdk.audit_logs.v1.async_client`

#### SCIM API Client

* `slack_sdk.scim.v1.client`
* `slack_sdk.scim.v1.async_client`

"""
import logging
from logging import NullHandler

# from .rtm import RTMClient  # noqa
from .web import WebClient  # noqa
from .webhook import WebhookClient  # noqa

# Set default logging handler to avoid "No handler found" warnings.
logging.getLogger(__name__).addHandler(NullHandler())

Sub-modules

slack_sdk.aiohttp_version_checker

Internal module for checking aiohttp compatibility of async modules

slack_sdk.audit_logs

Audit Logs API is a set of APIs for monitoring what’s happening in your Enterprise Grid organization …

slack_sdk.errors

Errors that can be raised by this SDK

slack_sdk.models

Classes for constructing Slack-specific data structure

slack_sdk.oauth

Modules for implementing the Slack OAuth flow …

slack_sdk.proxy_env_variable_loader

Internal module for loading proxy-related env variables

slack_sdk.rtm

A Python module for interacting with Slack's RTM API.

slack_sdk.rtm_v2

A Python module for interacting with Slack's RTM API.

slack_sdk.scim

SCIM API is a set of APIs for provisioning and managing user accounts and groups. SCIM is used by Single Sign-On (SSO) services and identity providers …

slack_sdk.signature

Slack request signature verifier

slack_sdk.socket_mode

Socket Mode is a method of connecting your app to Slack’s APIs using WebSockets instead of HTTP. You can use slack_sdk.socket_mode.SocketModeClient …

slack_sdk.version

Check the latest version at https://pypi.org/project/slack-sdk/

slack_sdk.web

The Slack Web API allows you to build applications that interact with Slack in more complex ways than the integrations we provide out of the box.

slack_sdk.webhook

You can use slack_sdk.webhook.WebhookClient for Incoming Webhooks and message responses using response_url in payloads.