Add missing Web API methods that are documented on docs.slack.dev to WebClient

Abierto
#2,014 2 comentarios 2 reacciones 2 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@zimeg ya está trabajando en esto.

Desde el 13/11/2026.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
api

Línea de trabajo

Start with slack_sdk/web/client.py to see how an existing keyword-only method is written and linked to its docstring, then read scripts/codegen.py to learn how the async and legacy variants are generated. Pick one namespace from the checklist, such as canvases.getContent, and add it following the existing pattern. Done means the method exists on the sync and async clients, has the docstring link, and the regenerated code passes the existing tests.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement web-client

The following 57 Web API methods have public reference pages on docs.slack.dev, and each page lists a Python WebClient method for them (for example app.client.canvases_getContent), but slack_sdk.web.WebClient doesn't implement them yet. Until they're added, the only way to call these methods is client.api_call("method.name", ...).

The list comes from comparing the method pages in https://docs.slack.dev/sitemap.xml with the api_call targets in slack_sdk/web/client.py. It doesn't include:

  • apps.datastore.* and apps.activities.list, which are only for Slack-hosted apps
  • users.setActive, which the docs describe as deprecated and non-functional
  • admin.conversations.bulkSetProperties, which is already tracked in #1992
Missing methods
admin.analytics
admin.apps
admin.audit
admin.conversations
admin.slackbot
admin.usergroups
admin.users
admin.workflows
apps.auth
apps.icon
apps.managed
assistant
canvases
entity
functions.distributions
functions.workflows
oauth.v2
slackbot
workflows.triggers

Each method should follow the existing pattern in client.py (keyword-only args, docstring link to the reference page), with the async/legacy variants generated by scripts/codegen.py. I'm happy to send PRs, likely grouped by namespace.

Category (place an x in each of the [ ])
  • slack_sdk.web.WebClient (sync/async) (Web API client)
  • slack_sdk.webhook.WebhookClient (sync/async) (Incoming Webhook, response_url sender)
  • slack_sdk.models (UI component builders)
  • slack_sdk.oauth (OAuth Flow Utilities)
  • slack_sdk.socket_mode (Socket Mode client)
  • slack_sdk.audit_logs (Audit Logs API client)
  • slack_sdk.scim (SCIM API client)
  • slack_sdk.rtm (RTM client)
  • slack_sdk.signature (Request Signature Verifier)
Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Lenguaje dominante
Python
Estrellas
4k
Forks
874
Merge medio
13 h 22 min
PR fusionados (30 d)
64

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de slackapi/python-slack-sdk

Todos los issues de slackapi/python-slack-sdk

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.