강의

멘토링

커뮤니티

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

  • DEV MOO
3시간 만에 완강할 수 있는 강의 ⏰
실습 중심
실습
슬랙
파이썬
Python
Slack
playwright
httpx
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

213

Learners

16

Reviews

101

Answers

5.0

Rating

2

Courses

안녕하세요

한국, 일본에서 웹 개발 및 안드로이드 앱 개발자로 활동했습니다.
프로그래밍 강사로도 활동하면서 지식을 전파하여 사람을 가르친다는 일에
책임감을 갖고 학생분들이 성장하는 모습에 보람을 느끼고 있습니다.

excusme@naver.com

Curriculum

All

36 lectures ∙ (2hr 36min)

Published: 
Last updated: 

Reviews

All

2 reviews

5.0

2 reviews

  • 앙앙기모님의 프로필 이미지
    앙앙기모

    Reviews 25

    Average Rating 4.6

    5

    100% enrolled

    재밌게 들었어요!!

    • DEV MOO
      Instructor

      감사합니다!

  • 수뼈님의 프로필 이미지
    수뼈

    Reviews 32

    Average Rating 4.9

    5

    100% enrolled

    감사합니다.

    DEV MOO's other courses

    Check out other courses by the instructor!

    Similar courses

    Explore other courses in the same field!