๊ฐ•์˜

๋ฉ˜ํ† ๋ง

์ปค๋ฎค๋‹ˆํ‹ฐ

Programming

/

Programming Language

Build your own SlackBot that tells you the weather (Python)

A beginner's course in Python! Create your own Slackbot that tells you the weather using Playwright, HTTPX, selectolax, and Github Actions.

(5.0) 2 reviews

71 learners

Level Basic

Course period Unlimited

  • DEV MOO
Python
Python
Slack
Slack
playwright
playwright
httpx
httpx
github-actions
github-actions
Python
Python
Slack
Slack
playwright
playwright
httpx
httpx
github-actions
github-actions

What you will gain after the course

  • How to create your own slackbot

  • Web Testing Automation Basics with Playwright

  • Task scheduling using Github Actions

Attention all Python beginners ๐Ÿ‘€
Create your own smart Slackbot!

Creating a Python Slackbot

Please tell me where,
I'll tell you the weather in a jiffy.

I'll be building my own Slackbot that responds to chat threads asking about the weather in a specific area.

  • โœ… Create your own Slackbot and use it for work.
  • โœ… Website crawling โ†’ Parsing necessary data
  • โœ… Application projects beyond Python and HTML/CSS basics
  • โœ… Linux Server, Cron Jobs Using Github Actions

If you're a Lv. 1 Python developer who wants to do something fun!

I'll show you how to crawl information using selectolax and HTTPX in Playwright, a Python framework attracting international attention. I'll explain in a concise yet detailed manner so even beginners can easily grasp it.


Short but useful
We help you learn.

1๏ธโƒฃ Learn how to register a Slack app and use the SDK.

2๏ธโƒฃ Learn how to manage tokens and secret keys in Python.

3๏ธโƒฃ Crawl Naver's weather information with web application test automation frameworks Playwright, HTTPX, and Selectolax.

4๏ธโƒฃ Parse the crawled data using Crontab on the Linux server.

5๏ธโƒฃ Send weather information to Slack at a set time.

6๏ธโƒฃ Learn how to run Cron jobs serverlessly using Github Actions.

1. Setting up the development environment

  • Register your app on the Slack API site and set permissions.
  • Install Jupyter Notebook in VSCode for easy code testing.
  • Isolate your development environment by creating a Python virtual environment.

2. Extracting Naver weather information

  • Send a request to Naver asking for weather information using the HTTPX module.
  • Receive the response and extract the required data.

3. Send weather information to a Slack channel

  • Send extracted data to a channel using the Slack SDK module.
  • For code maintenance/maintenance, separate the logic by declaring it as a Class.

4. Save weather information as an image file and send it to a Slack channel.

  • Control your browser with Playwright to save weather information as image files.
  • Send image files to a Slack channel using the Slack SDK module.
  • Modify the design of messages sent to Slack channels.

5. Send weather information to a Slack channel every morning at 7:00 AM.

  • Use Crontab on your Linux server to send weather information at scheduled times.
  • Use Github Actions to send weather information at a set time.

The person who created this course, DEV MOO

  • (Current) Freelance Web/Flutter App Development
  • (Former) Soft Engineer Society SMART CLOUD IT MASTER course instructor
  • Participated in the development of TOSHIBA ETC control modules (Japan)
  • Participated in the development of SMBC's customer management platform (Japan)
  • (Former) Participated in the development of the gourmet food delivery app
  • Running a YouTube channel

Q&A ๐Ÿ’ฌ

Q. What can I do after completing the course?

You will be able to create your own Slackbot that can be used for work and perform simple crawling tasks.

Q. Can even beginners in programming take the course?

If you can declare a class in Python and have knowledge of CSS selectors, you can learn it.

๐Ÿ’ก Please check before taking the class

  • To take the course, you need a PC with internet access.
  • The lecture is based on Windows 10 OS.
  • You must be able to declare classes in Python and have knowledge of HTML tags and CSS selectors, such as class and id attributes. (Prerequisite knowledge)
  • You will need a Github and Slack account.

Recommended for
these people

Who is this course right for?

  • For those who want to create their own Slackbot

  • For those who have learned the basics of Python but are wondering what to do next

  • People who use Slack for work

  • For those who want to create tools to improve work efficiency

Need to know before starting?

  • Python Basics

  • Declaring classes and functions in Python

  • HTML/CSS Basics

  • Github and Slack accounts

Hello
This is

222

Learners

17

Reviews

101

Answers

5.0

Rating

2

Courses

Hello

I have worked as a web and Android app developer in Korea and Japan.
While also working as a programming instructor, I feel a sense of responsibility
in spreading knowledge and teaching others, and I find it rewarding to see my students grow.

excusme@naver.com

Curriculum

All

36 lectures โˆ™ (2hr 36min)

Published:ย 
Last updated:ย 

Reviews

All

2 reviews

5.0

2 reviews

  • deo01๋‹˜์˜ ํ”„๋กœํ•„ ์ด๋ฏธ์ง€
    deo01

    Reviews 25

    โˆ™

    Average Rating 4.6

    5

    100% enrolled

    I enjoyed listening to it!!

    • devmoo
      Instructor

      thank you!

  • rhddbdyd๋‹˜์˜ ํ”„๋กœํ•„ ์ด๋ฏธ์ง€
    rhddbdyd

    Reviews 32

    โˆ™

    Average Rating 4.9

    5

    100% enrolled

    thank you

    DEV MOO's other courses

    Check out other courses by the instructor!

    Similar courses

    Explore other courses in the same field!