Skip to content

Instantly share code, notes, and snippets.

@jpotts18
Created October 9, 2013 05:56
Show Gist options
  • Save jpotts18/6896813 to your computer and use it in GitHub Desktop.
Save jpotts18/6896813 to your computer and use it in GitHub Desktop.
{
"meals":[
{
"id":103,
"created_at":"2013-10-08T22:49:07-06:00",
"description":"A half pound burger with bacon.",
"location":null,
"portion_consumed":4,
"time_occurred":"2013-10-08T22:49:07-06:00",
"premeal_hunger":4,
"postmeal_fullness":8,
"mood":"m_bored",
"photo":{
"url":"http://api.usdietitian.com/uploads/meal/photo/103/398e80dcba2a1e045c0fd163cc8a8c54.jpg",
"thumbnail":{
"url":"http://api.usdietitian.com/uploads/meal/photo/103/thumb_398e80dcba2a1e045c0fd163cc8a8c54.jpg"
}
},
"hydrations_attributes":[
{
"id":119,
"quantity":16,
"type_id":1,
"description":"Soda",
"location":null,
"time_occurred":null
},
{
"id":120,
"quantity":16,
"type_id":1,
"description":"Water",
"location":null,
"time_occurred":null
}
]
},
{
"id":105,
"created_at":"2013-10-08T22:49:09-06:00",
"description":"Hot Dog",
"location":null,
"portion_consumed":2,
"time_occurred":"2013-10-08T22:49:09-06:00",
"premeal_hunger":1,
"postmeal_fullness":2,
"mood":"m_bored",
"photo":{
"url":"http://api.usdietitian.com/uploads/meal/photo/105/e15da7f1a6d1d59ee74692112619d4fe.jpg",
"thumbnail":{
"url":"http://api.usdietitian.com/uploads/meal/photo/105/thumb_e15da7f1a6d1d59ee74692112619d4fe.jpg"
}
},
"hydrations_attributes":[
{
"id":123,
"quantity":16,
"type_id":1,
"description":"Water",
"location":null,
"time_occurred":null
}
]
},
{
"id":108,
"created_at":"2013-10-08T22:49:11-06:00",
"description":"Grilled Salmon",
"location":null,
"portion_consumed":2,
"time_occurred":"2013-10-08T02:49:11-06:00",
"premeal_hunger":3,
"postmeal_fullness":7,
"mood":"m_bored",
"photo":{
"url":"http://api.usdietitian.com/uploads/meal/photo/108/c4c0fcb529626bf7914518e0079540ff.jpg",
"thumbnail":{
"url":"http://api.usdietitian.com/uploads/meal/photo/108/thumb_c4c0fcb529626bf7914518e0079540ff.jpg"
}
},
"hydrations_attributes":[
{
"id":126,
"quantity":16,
"type_id":1,
"description":"Water",
"location":null,
"time_occurred":null
}
]
}
],
"activities":[
{
"id":81,
"description":null,
"time_occurred":"2013-10-08T18:00:00-06:00",
"duration":53,
"distance":null,
"distance_type":null,
"intensity":"high",
"location":null,
"steps":null,
"type_id":1
},
{
"id":82,
"description":null,
"time_occurred":"2013-10-08T22:00:00-06:00",
"duration":38,
"distance":null,
"distance_type":null,
"intensity":"high",
"location":null,
"steps":null,
"type_id":4
}
],
"hydrations":[
],
"parameter":{
"date":"2013-10-08",
"energy_level":2,
"sleep_hours":2,
"stress_level":3,
"stress_reduction":true
},
"messages":[
{
"time_occurred":"2013-10-08T22:49:10-06:00",
"body":"Lorem ipsum messages"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment