Successfully reported this slideshow.
Your SlideShare is downloading. ×

Personal Life API

Personal Life API

Download to read offline

Learn how to expose all your quantified self data via a simple Life API. Use that data for tasks ranging from making real-time decisions to long term planning.

The presentation/workshop is composed of the following three phases.

Phase 1: Use techniques from Personal Productivity experts to identify what data is important to quantify.

Phase 2: Create a template for helping us determine what tools, services and devices will automate (mostly) our data collection.

Phase 3: Combine and expose our data behind a Life API. We will design the API using APIary.io and implement it using Python/Flask. At this point we will explore how we can use this API and put our data to work.

To focus and make sure you all walk away with a tangible result within our allotted time, we will limit our scope to the area of health.

Learn how to expose all your quantified self data via a simple Life API. Use that data for tasks ranging from making real-time decisions to long term planning.

The presentation/workshop is composed of the following three phases.

Phase 1: Use techniques from Personal Productivity experts to identify what data is important to quantify.

Phase 2: Create a template for helping us determine what tools, services and devices will automate (mostly) our data collection.

Phase 3: Combine and expose our data behind a Life API. We will design the API using APIary.io and implement it using Python/Flask. At this point we will explore how we can use this API and put our data to work.

To focus and make sure you all walk away with a tangible result within our allotted time, we will limit our scope to the area of health.

More Related Content

Related Books

Free with a 30 day trial from Scribd

See all

Personal Life API

  1. 1. Quantify Thyself, then Go Forth & Conquer with a Personal Life API Elmer Thomas Hacker in Residence @thinkingserious
  2. 2. If you had access to all the data the NSA has collected about you via API, what would you build?
  3. 3. Our goal is to liberate, normalize, analyze and execute on YOUR data
  4. 4. The Personal API gives you a uniform interface to YOUR data
  5. 5. Determine what data to quantify Choose how we will quantify Build the API Innovate on top of the API with apps
  6. 6. Step 1 Determine what data to quantify
  7. 7. Define the areas of your life you want to improve
  8. 8. For each area, define S.M.A.R.T. goals
  9. 9. Step 2 Choose how we will quantify the data we need
  10. 10. Use our S.M.A.R.T. goal to identify the data
  11. 11. How do we access and store the data?
  12. 12. Step 3 Build the API
  13. 13. /v1.0/health/goal /v1.0/health/weight /v1.0/health/calories /v1.0/health/sleep /v1.0/health/stress
  14. 14. Create a prototype using APIary.io
  15. 15. Build the API using Python/Flask
  16. 16. What will you do with the data? Apps!
  17. 17. Determined what data to quantify Chose how we will quantify Built the API Innovated on top of the API with apps
  18. 18. “If you can not measure it, you can not improve it” - Lord Kelvin
  19. 19. @thinkingserious aka Lord Elmer
  20. 20. Let’s go further bit.ly/apithyself

Editor's Notes

  • This talk was delivered at API World (see http://www.apiworld.co) on September 16th, 2014.
  • Example data:
    * Location
    * Voice
    * Text data
  • We will limit the focus of this talk to health, in particular weight loss
  • Examples:
    * Health (mind, body)
    * Career (and associated skills)
    * Relationships (family, friends)

    In this talk, we focus on Health:body
  • Specific
    Measurable
    Achievable
    Relevant
    Time Bound
  • Losing Weight (Health) is our SMART goal

    Specific: weigh 180lbs by December 31
    Measurable: weight scale
    Achievable: 2 lbs a week is physically possible via lower calorie intake and burning more calories over time
    Relevant: improves most areas of my life that I want to improve (e.g. more energy for family time)
    Time Bound: December 31
  • Example data needed to support a weight loss goal:
    * Weight
    * Calorie consumption
    * Calories burned
    * Sleep
    * Stress
  • Weight measurement tools:
    * WiThings Scale
    * Scale at the Gym
    * “Innovative Scale”
  • Calorie consumption measurement tools:
    * Food labels
    * Food scale
    * Calorie counting software (e.g. LoseIt, MyFitness Pal)
    * Calorie counting websites
    * http://www.webmd.com/diet/healthtool-food-calorie-counter
    * https://www.supertracker.usda.gov/default.aspx
    * APIs:
    * http://platform.fatsecret.com/api
    * http://dev.fitbit.com
    * http://www.myfitnesspal.com/api
  • Calorie measurement tools:
    * Exercise Tracking Tools
    * Fitbit
    * iWatch
    * Software
    * e.g. Moves - https://dev.moves-app.com
    * e.g. Moves - Runkeeper - http://developer.runkeeper.com/healthgraph/overview
  • Sleep measurements:
    * Sleep Cycle
    * Fitbit
  • Stress measurements:
    * Melon
    * Custom form that asks “How are you feeling?” periodically through the day
  • Access can be manual, automated or via an API
    Aggregate and store your data
  • Define the dataset roughly using a mind map
    Rapid, collaborative feedback across departments
  • Convert to endpoints
    We’ll start with support for GET, PUT and PATCH
    We will implement the goal, weight and calories endpoints for this talk
  • Live demo: http://docs.apithyself.apiary.io
  • Live demo: https://github.com/thinkingserious/apithyself
  • Example apps:
    * Reminders (data entry, staying on course)
    * Easier data entry interfaces
    * Reporting
    * Collaboration, data sharing
  • AKA William Thompson, a physicist who theorized a new temperature scale including absolute zero
  • Find out more about the speaker here: http://www.thinkingserious.com
  • G+ community to continue the conversation: http://bit.ly/apithyself

×