Welcome! We're constantly evolving, so check out the blog and suggest features!

Data

lifemetric is strongly committed to keeping user data both private and accessible.

Currently, data access is in its infancy but we are constantly working to offer data in new and standard ways.

Sitewide Metric Summary

http://lifemetric.com/metric/show/:id.csv

All historical metric data with mean, standard deviation, and number of entries for each date.

ParameterRequired?Default ValueNotes
id Yes N/A

metric,date,mean,stddev,n
1,2007-02-26,4.0000,0.0000,1
1,2007-02-27,6.0000,0.0000,1
1,2007-02-28,5.1538,1.7908,26

Latest Entries

http://lifemetric.com/user/data.xml

Currently logged in user's latest metric entries.

This would be suitable for use in a widget or client application to display what metrics the user is subscribed to and for setting the initial position of the sliders.

Authentication is performed using either session data (i.e., in a browser) or via HTTP basic authentication. If no user is logged in or the e-mail and password specified in basic authentication is invalid a 401 HTTP status code will be returned.

<?xml version="1.0" encoding="UTF-8"?>
<user id="1" persona="Kevin">
  <last_entries>
    <entry date="2008-03-01">
      <metric id="1">Mood</metric>
      <value>6</value>
    </entry>
    <entry date="2008-03-01">
      <metric id="2">Creativity</metric>
      <value>5</value>
    </entry>
    <entry date="2008-03-01">
      <metric id="3">Stress</metric>
      <value>7</value>
    </entry>
  </last_entries>
</user>

Current User's Entries

http://lifemetric.com/user/entries.csv[?:days=30]

Currently logged in user's metric data for the past days days. If multiple points were gathered for a particular day, they are aggregated using the standard mean. Days/metrics for which no entry was recorded will be blank.

Authentication is performed using either session data (i.e., in a browser) or via HTTP basic authentication. If no user is logged in or the e-mail and password specified in basic authentication is invalid a 401 HTTP status code will be returned.

ParameterRequired?Default ValueNotes
days No 30 Maximum value is 365

date,mood,stress,sleep
2008-02-20,10,,
2008-02-19,,5,7
2008-02-18,6,8,10
2008-02-17,8,8,9