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
290
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
SlackにZoomの使用状況を表示したい
SlackのstatusにZoomの接続状況を逐次、自動反映させる仕組みを作った話
Yukimitsu Izawa
August 15, 2020
More Decks by Yukimitsu Izawa
See All by Yukimitsu Izawa
電子線香で老人を救え
izawa
0
70
マイコン内蔵フルカラーLEDを ピカピカ光らせるぞ!
izawa
0
36
3Dプリンター未経験者が初めてプリントできた道のり
izawa
0
59
Rubyで守る我が家の安心: IoTセンサ ーネットワーク『ゆきそっく』の実践
izawa
0
290
KVM-Mをつくったはなし
izawa
1
170
RubyでXDPプログラミング
izawa
0
94
軽くて強い素材を求めて(DCFのススメ)
izawa
2
210
指紋認証でsshログイン
izawa
0
490
展示会に出展してみた
izawa
0
270
Other Decks in Programming
See All in Programming
Building an Out-of-Order CPU
latte72
0
640
Seeing Through Serverless: Observability for AWS Lambda with ADOT and CloudWatch Application Signals
seike460
PRO
1
120
AIは賢い。でも実行環境は? CLIおじさんがAI時代に伝えたいこと ~ CLIおじさんがAI時代に伝えたいこと ~
curekoshimizu
1
140
まずはプロンプトガイドを読もう、話はそれからだ
kiakiraki
1
250
XHTMLが残したもの
yosuke_furukawa
PRO
1
380
[PyCon KR 2026] More Variants, More Diversity for AI Accelerators
achimnol
0
130
[DroidKaigi 26] How We Moved from Android Studio to Slack
thisaay
0
200
typoなんかねぇよ
raspython3
0
660
初めての模倣学習とVLA
natsutan
0
460
不幸な GC
chencmd
0
870
バグを直したら useEffect が消えた
colorful12
3
830
XP祭りでしか伝わらないフリップネタ #xpjug
murabayashi
0
110
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
510
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
330
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
800
Utilizing Notion as your number one productivity tool
mfonobong
4
570
The Mindset for Success: Future Career Progression
greggifford
PRO
0
490
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
520
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
Automating Front-end Workflow
addyosmani
1369
210k
Embracing the Ebb and Flow
colly
88
5.2k
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