Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
SlackにZoomの使用状況を表示したい
Search
Yukimitsu Izawa
August 15, 2020
Programming
0
260
SlackにZoomの使用状況を表示したい
SlackのstatusにZoomの接続状況を逐次、自動反映させる仕組みを作った話
Yukimitsu Izawa
August 15, 2020
Tweet
Share
More Decks by Yukimitsu Izawa
See All by Yukimitsu Izawa
3Dプリンター未経験者が初めてプリントできた道のり
izawa
0
31
Rubyで守る我が家の安心: IoTセンサ ーネットワーク『ゆきそっく』の実践
izawa
0
220
KVM-Mをつくったはなし
izawa
1
130
RubyでXDPプログラミング
izawa
0
73
軽くて強い素材を求めて(DCFのススメ)
izawa
2
180
指紋認証でsshログイン
izawa
0
450
展示会に出展してみた
izawa
0
250
エアコンの操作についての話
izawa
0
900
Kindleページめくり君 Ver.2
izawa
0
300
Other Decks in Programming
See All in Programming
The free-lunch guide to idea circularity
hollycummins
0
240
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
110
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
230
AWS Infrastructure as Code の新機能 2025 総まとめ 〜SA 4人による怒涛のデモ祭り〜
konokenj
10
3.4k
How to stabilize UI tests using XCTest
akkeylab
0
130
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
2
390
Swift ConcurrencyでよりSwiftyに
yuukiw00w
0
270
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.1k
Windows on Ryzen and I
seosoft
0
300
ふつうのRubyist、ちいさなデバイス、大きな一年 / Ordinary Rubyists, Tiny Devices, Big Year
chobishiba
1
460
エンジニアの「手元の自動化」を加速するn8n 2026.02.27
symy2co
0
160
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.2k
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
SEO for Brand Visibility & Recognition
aleyda
0
4.4k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
750
Automating Front-end Workflow
addyosmani
1370
200k
The Language of Interfaces
destraynor
162
26k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
320
GraphQLの誤解/rethinking-graphql
sonatard
75
11k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
230
So, you think you're a good person
axbom
PRO
2
2k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
200
Thoughts on Productivity
jonyablonski
75
5.1k
Transcript
SLACKʹZOOMͷ༻ঢ়گ Λද͍ࣔͨ͠ ҪᖒΏ͖Έͭ 20208݄15 Kanazawa.rb meetup #96
ࣗݾհ ➤ YouTuber ➤ My Outdoor Life (https://kanazawa.camp/) ➤ ത࢜(ใՊֶ)
➤ ΠϯλʔωοτΛͬͨૄ݁߹ࢄγεςϜͷݚڀΛ͍ͯ͠·͢ ➤ גࣜձࣾΫϧΟοτ औక ݉ ࢧࣾ COO ➤ Code for Kanazawa ཧࣄ ➤ ిࢠ࡞ͱφΠϑΛࣗ࡞͢Δͷ͕झຯͰ͢
WHFͷࡢࠓ…… ➤ ZoomͰςϨΧϯதʹɺSlackͰ͔͚͠ΒΕΔͱԠͰ͖ͳ͍͜ͱ͕͋Δ ➤ Slackʹɺstatus ͱ͍͏ػೳΛͬͯʮ͍·ԿΛ͍ͯ͠ΔʯΛදݱͰ͖Δ ➤ ͱ͍͏͜ͱɺZoomதʹ statusΛʮZoomར༻தʯͬͯදࣔͰ͖Εɺ͓͍ͨ͠ ͚ͩͳ͍Ͱ͠ΐ͏͔ʁ!
➤ खಈͩͱ໘ͩ͠ɺ͠ΕͨΓͦ͠͏ͳͷͰɺࣗಈతʹͬͯཉ͍͠
ػೳཁૉ ➤ Zoom ͰςϨΧϯத͔Ͳ͏͔ͷఆํ๏ ➤ Zoom ͷAPIͰऔΕͦ͏(?) ➤ ߴසʹఆظతʹAPIΛୟ͘ͷͪΐͬͱ͏Δ͍͞ ➤
Zoom Client͕roomʹଓதͷͱ͖͚ͩىಈ͢Δprocess͕͋ΔͷͰɺͦͷଘࡏΛ νΣοΫ͢Δ͜ͱʹ͢Δ ➤ Slack ͷstatus ͷมߋํ๏ ➤ Web API Λͬͯɺget ͱ set Λ͢Δ
ΞʔΩςΫνϟ macOSϚγϯ Python Script process table APIαʔό
ΞʔΩςΫνϟ macOSϚγϯ Python Script process table "CptHost"্͕͕͍ͬͯΔ͔Λperiodicʹlookup͢Δ APIαʔό
ΞʔΩςΫνϟ macOSϚγϯ Python Script process table APIαʔό user.status.get ͰݱࡏͷstatusΛऔಘͯ͠هԱ
ΞʔΩςΫνϟ macOSϚγϯ Python Script process table APIαʔό user.status.set Ͱ status_emoji
Λ :zoom: ΞΠίϯʹͯ͠ status_text ΛʮIn a meeting via Zoomʯʹઃఆ͢Δ
ΞʔΩςΫνϟ macOSϚγϯ Python Script process table APIαʔό ֤ΫϥΠΞϯτʹมߋ͕௨͞ΕΔ
PYTHON SCRIPTΛίϚϯυԽ ➤ ىಈ༻ shell script Λॻ͘
SCRIPTࣗಈىಈ͍ͨ͠ ➤ Automator ͰAppԽ ➤ ϩάΠϯ߲ʹొ ➤ શࣗಈͰZoomͷঢ়ଶΛSlackͷstatusʹөͤ͞Δ͜ͱ͕Ͱ͖ΔΑ͏ʹͳΔ
DEMO ➤ ιʔείʔυҎԼʹஔ͍ͯ͋Γ·͢ɻ ➤ https://github.com/izawa/slack_zoom_status