Add support for the Slack Events API
Description
Using aiohttp explore creating a Web Server to respond to Slack's Event API. This would ideally mirror an API similar to the RTMClient in v2 and the Flask-based SlackEventsAdapter.
I did a basic bearbones installation of aiohttp and an events endpoint that could work as a good point of reference for building this out - https://github.com/splinterific/Events_Aiohttp
This is going to be addressed by "Bolt for Python" development. https://trello.com/c/cSi1L0d0/90-bolt-for-python
Using the Bolt framework should be the easiest way but I'm going to provide the primitive modules separately from Bolt itself. A new PyPI package as the successor of slackclient will contain all the missing parts of the Slack Platform features.
I've made Bolt for Python public this week! The new framework supports Events API and any other interactive communications with the Slack API Platform. Check the samples demonstrating how to receive and react to events. https://github.com/slackapi/bolt-python/blob/v0.2.1a0/samples/events_app.py
I'm going to provide the primitive modules separately from Bolt itself.
As I mentioned above, I was planning to make a small library. However, while working on Bolt development, I found that it's not handy enough to use as developers have to handle raw HTTP request/response on their own. So, I no longer plan to provide such.
Bolt for Python is still in alpha but we're sure that we will be releasing the initial stable version within a few months. Try the framework out and let us know your feedback in the repository's issue tracker: https://github.com/slackapi/bolt-python/issues/new
Allow me to close this issue in this repository now.