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
PythonでフィットネスデータをIFTTTに繋いでみた
Search
しみず ゆうき
July 20, 2019
Programming
300
1
Share
PythonでフィットネスデータをIFTTTに繋いでみた
しみず ゆうき
July 20, 2019
More Decks by しみず ゆうき
See All by しみず ゆうき
EventBridgeで地域イベントのイベントストリームを作ってみた
yuukis
0
110
2025年 山梨の技術コミュニティを振り返る
yuukis
0
380
サイトを作ったらNFCタグキーホルダーを爆速で作れ!
yuukis
0
1.1k
Perlで痩せる
yuukis
1
870
Pythonで遊べるLEDボードの紹介
yuukis
0
140
今話題のMCPサーバーをFastAPIでサッと作ってみた
yuukis
0
660
地域ITコミュニティの活性化とAWSに移行してみた話
yuukis
0
580
Gemini API を試した話と山梨でオススメのものを語るLT
yuukis
0
110
山梨のIT勉強会コミュニティを盛り上げるためにアレ作ってみた!
yuukis
0
110
Other Decks in Programming
See All in Programming
How We Practice Exploratory Testing in Iterative Development( #scrumniigata ) / 反復開発の中で、探索的テストをどう実施しているか
teyamagu
PRO
3
1.1k
Agentic AI & UI: Arcitecture, HITL, Emerging Standards
manfredsteyer
PRO
0
130
Talking to terminals (and how they talk back) (KotlinConf 2026)
jakewharton
PRO
1
110
Kubernetesを使わない環境にもCloud Nativeなデプロイを実現する / Enabling Cloud Native deployments without the complexity of Kubernetes
linyows
3
540
タクシーアプリ『GO』の バックエンド開発のおける AI利活用と若者のすべて
pyama86
3
1.6k
1人1案件のプロダクトエンジニア時代に、"プロセス監督"としてチャレンジしたこと
non0113
0
300
ReactとSvelteのその先、Ripple-TS / Beyond React and Svelte: Ripple-TS
ssssota
3
790
Migrations : C'est une question d'hygiène !
vinceamstoutz
0
1.8k
AI時代になぜ書くのか
mutsumix
0
450
柔軟なPDFレイアウトエディタを支える型システム設計 — Discriminated UnionとConditional Typeの実践
minako__ph
3
570
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
470
Oxlintはいかにしてtsgolintのlint ruleを呼び出しているのか
syumai
1
480
Featured
See All Featured
Site-Speed That Sticks
csswizardry
13
1.2k
Building an army of robots
kneath
306
46k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
220
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Agile that works and the tools we love
rasmusluckow
331
21k
Bash Introduction
62gerente
615
210k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
460
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
Deep Space Network (abreviated)
tonyrice
0
150
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
340
Making Projects Easy
brettharned
120
6.6k
Transcript
【Shingen.py #7 LT】 Python でフィットネスデータを IFTTT に繋いでみた 2019. 7.
20 しみず ゆうき 1
おまえ誰よ? しみず ゆうき • モバイルアプリエンジニア(Android/iOS) • 甲府生まれ 甲府育ち ※ 現在は東京に出稼ぎ中(3年目)
2
3 の話をします
4 背景について
4ヶ月前にダイエットネタで LT やりました 5
で、結局 効果あったの? 6
効果ありませんでした 7
痩せない原因 • 運動していない • (ほぼ)毎晩お酒を飲んでいる • 応援に慣れてしまった • 結果をすぐに忘れる 8
データ連携させて 色々な方法を試してみたい! 9
IFTTT • 数ある Web サービス(Facebook、Evernote、Weather、Dropbox など)同士で連携することができるWebサービス • Web サービスだけでなく iOS、Android
とも連携できる • 最近では、Google Assistant や amazon alexa などのAIスピーカー (スマートスピーカー)との連携が進んでいる ※一部、Wikipedia より抜粋 10
Webhook が利用できる!! 11
Python で IFTTT にデータ送信 import requests requests.post( 'https://maker.ifttt.com/trigger/[event]/with/key/[key]', data={'value1': 'テスト',
'value2': 'てすと', 'value3': 'test'} ) 12
例)Wi-Fi スマート電球と連携させる 13
体重の増減で照明の色を変える 14 ▼通常時 ▼体重 増 照明が赤かったら お酒を控える
まとめ • 自作の Python プログラムを IFTTT に繋げると、 色々遊べそう! 15