5/15/2023 0 Comments Slack in webSelect a development workspace(slack workspace where the bot would be installed)Ĭlick create App and you'll be navigated to this page.To get started visit slack a modal should pop up like this Building up from part one, all you'll need at this point is a slack workspace, you could easily create one for free here or just build the bot into any workspace by creating a channel where you can play around with.Apscheduler: Finally we would write another function that would help us call those API functions at intervals.Slackapi backend: Making use of slacks open API we would write some python functions that when called posts the message to a channel.Slackbot: Here we would visit slack apps page, and create a bot associated with a slack channel.If you missed part one you can find it here In this second part of the article series, we would be bringing it all together by building a slackbot that would periodically post one of the quotes we scrapped to a slack channel! ![]() ![]() We were able to build a web scraper that enabled us to scrape a website for quotes and save them to a JSON file. Find and copy a random quote about excellence from the site.In part one of this two-part series we set out on a quest to automate these tasks
0 Comments
Leave a Reply. |