2016-03-02 64 views

回答

2

一种方法是使用请求(或任何HTTP客户端你喜欢)这个端点:https://api.slack.com/methods/channels.history

这将返回您可以用oldestlatest参数过滤特定通道的邮件列表。

+0

是的,这似乎很好,&请求你的意思是http://docs.python-requests.org/en/master/?对?? –

+0

绝对 - 如果你想要标准库中的东西,你可以使用https://docs.python.org/3/library/urllib.request.html或https://docs.python.org/2/library/urllib2 .html如果你使用Python 2.x – Jeremy

相关问题