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
Yuuki Shimizu
July 20, 2019
Programming
1
260
PythonでフィットネスデータをIFTTTに繋いでみた
Yuuki Shimizu
July 20, 2019
Tweet
Share
More Decks by Yuuki Shimizu
See All by Yuuki Shimizu
Gemini API を試した話と山梨でオススメのものを語るLT
yuukis
0
42
山梨のIT勉強会コミュニティを盛り上げるためにアレ作ってみた!
yuukis
0
29
FastAPI を活用した オープンデータAPI の作成
yuukis
0
860
FastAPIで始める やまなし温泉めぐり
yuukis
0
380
Slack の困りごとを何とかしてみた①
yuukis
0
81
Pythonでslackの困りごとを何とかしてみた①
yuukis
0
250
Pythonでお絵かき①
yuukis
0
310
Pythonを使ってみんなでワイワイしたい
yuukis
0
170
Pythonで始めるお手軽ダイエット(2)
yuukis
0
340
Other Decks in Programming
See All in Programming
The rollercoaster of releasing an Android, iOS, and macOS app with Kotlin Multiplatform | droidcon Berlin
prof18
0
110
Async Await: Mastering Python's Time-Bending Tricks - EuroPython2024
yanbo
1
290
feature環境をGitHub ActionsとCloudFormationでいい感じに管理する
nealle
2
310
Webエディタライブラリ 「CodeMirror」から学ぶ Webアプリ開発のテクニック
ryosukeigarashi
0
250
入社1ヶ月でここまでやった!Findy Toolsインフラ支援の最適化
rvirus0817
6
1.4k
TiDB Serverless ~理想のServerless DBを考える~
soso_15315
1
160
Android開発者のための Kotlin Multiplatform入門
ntaro
0
190
Prompt FlowによるLLMアプリケーション開発
yuto2000
1
1k
ぼっちを避けて楽しむためのアノテコノテ / Various Tips and Tricks to Avoid Loneliness and Have Fun
nrslib
3
1.7k
Javaの現状2024夏 / Java current status 2024 summer
kishida
4
1.4k
CSC307 Lecture 13
javiergs
PRO
0
150
Composing an API the *right* way (Droidcon Berlin 2024)
zsmb
1
450
Featured
See All Featured
Web development in the modern age
philhawksworth
203
10k
Building Better People: How to give real-time feedback that sticks.
wjessup
357
18k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
12
3.8k
Principles of Awesome APIs and How to Build Them.
keavy
124
16k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
16
1.6k
Ruby is Unlike a Banana
tanoku
96
10k
Debugging Ruby Performance
tmm1
71
11k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
44
4.7k
What the flash - Photography Introduction
edds
65
11k
Teambox: Starting and Learning
jrom
130
8.6k
Gamification - CAS2011
davidbonilla
78
4.9k
The Language of Interfaces
destraynor
151
23k
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