SlideShare une entreprise Scribd logo
1  sur  29
Télécharger pour lire hors ligne
パーフェクトBody(仮)
@flada_auxv
Ruby合同勉強会@Sansan 2015/05/15(金)
https://twitter.com/flada_auxv/status/565133869079216129
http://www.slideshare.net/esminc/new-year-2015-agile-div
DEMO
“20代後半“の肉体と精神
https://twitter.com/flada_auxv/status/565133869079216129
周囲からのフィードバック
“Withingsの購入”を決意
(痩せるとは言ってない)
“『Smart Body Analyzer WS-50』 は、無料のアプリを
App Store または Play ストアからスマートフォンにイ
ンストールしてアカウントを設定しておけば、
計測するたびに体重・体脂肪のデータを Bluetooth また
はWi-Fi 経由で自動的にサーバに送信。
多彩にグラフ化し、スマホでいつでもどこでも健康管理
をすることができる。 体重データ(体重、BMI、体脂肪
量、除脂肪量)に加え、心拍数、室内温度、CO2 濃度
の計測にも対応。”
なぜ、ひとは
体重を public にするのか?
https://twitter.com/flada_auxv/status/587770331793788928
自分への抑止力
http://livedoor.blogimg.jp/kaigai_no/imgs/4/0/403929ad.jpg
もう一歩先へ
https://twitter.com/kenchan/status/577847937155219456
重い知る
flada-auxv/omoishiru
おもい-し・る〔おもひ-〕
【思い知る】
[動ラ五(四)]ある物事
を身に染みて理解する。な
るほどと悟る。「火事の恐
ろしさを―・る」
1. OAuth 認可
2. 体重測定通知の購読
3. 体重測定通知の受信
4. 最新の測定結果を取得
5. Twitter の名前を更新
http://oauth.withings.com/api/doc
作ってみて
omniauth-withings への不満
• 内部実装が依存している multi-json, multi-xml
を自分で require しないといけない??
• it ‘should do some testing’ のままのテスト
• Strategy-Contribution-Guide を読んでない??
flada-auxv/omniauth-withings
RubyGems.org に host したいけど名前ェ…
API クライアントも自作してみる
• 手順は Withings API のリファレンス にある
• The OAuth 1.0 Protocol(RFC5849) を読んで
分からない所を補う
• 既に動く別実装があるという気楽さ
• OAuth 2.0 / OpenID / OpenID Connect / etc…
今後やりたいこと
• 前回との差分やBMIくらい表示しろ
• API クライアント部分を gem として切り出す
• GitHub の Contributions streak みたいなやつ
• 見た目をマシにして公開したい
パーフェクトBody(仮)
@flada_auxv
Ruby合同勉強会@Sansan 2015/05/15(金)

Contenu connexe

En vedette

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

パーフェクトBody(仮)