Marcelo Moreira de Mello
6330d9cde6
Fixed Fitbit resting heart rate attribute (#3835)
* Fixed Fitbit restingHeartRate field to grab the correct field from dictionary
In [31]: r['activities-heart'][-1].get('value')
Out[31]:
{'customHeartRateZones': [],
'heartRateZones': [{'caloriesOut': 126.18348,
'max': 94,
'min': 30,
'minutes': 67,
'name': 'Out of Range'},
{'caloriesOut': 27.21339,
'max': 131,
'min': 94,
'minutes': 5,
'name': 'Fat Burn'},
{'caloriesOut': 0, 'max': 159, 'min': 131, 'minutes': 0, 'name': 'Cardio'},
{'caloriesOut': 0, 'max': 220, 'min': 159, 'minutes': 0, 'name': 'Peak'}],
'restingHeartRate': 69}
In [32]: r['activities-heart'][-1].get('value').get('restingHeartRate')
Out[32]: 69
* Renamed sensor to Resting Heart Rate to match it
* Fixed lint style
2016-10-13 09:22:05 -07:00
..
2016-08-30 21:34:33 +02:00
2016-10-11 00:56:57 -07:00
2016-10-04 00:51:45 -07:00
2016-09-01 21:57:47 +02:00
2016-09-10 09:12:24 -07:00
2016-10-11 00:28:19 -07:00
2016-10-11 00:28:19 -07:00
2016-09-27 21:29:55 -07:00
2016-08-20 15:40:16 -07:00
2016-10-11 00:28:19 -07:00
2016-08-20 15:40:16 -07:00
2016-09-03 10:56:41 +02:00
2016-08-20 15:28:26 -07:00
2016-09-27 21:29:55 -07:00
2016-08-19 00:11:56 -07:00
2016-08-22 20:51:17 -07:00
2016-09-03 20:36:21 -06:00
2016-10-01 23:13:07 -07:00
2016-08-24 22:35:09 -06:00
2016-09-26 20:13:41 -07:00
2016-09-08 18:26:50 -06:00
2016-10-13 09:22:05 -07:00
2016-10-11 00:28:19 -07:00
2016-09-01 22:29:35 -06:00
2016-10-01 17:35:32 +02:00
2016-08-23 21:01:31 -07:00
2016-09-06 08:53:21 -06:00
2016-10-10 22:36:20 -07:00
2016-10-10 19:38:32 +02:00
2016-10-03 23:21:53 +02:00
2016-08-20 15:40:16 -07:00
2016-10-04 08:41:39 -07:00
2016-08-20 15:40:16 -07:00
2016-09-11 20:18:53 +02:00
2016-09-13 18:21:43 -07:00
2016-09-03 17:30:21 -06:00
2016-09-07 16:32:35 +02:00
2016-09-29 09:55:05 +01:00
2016-09-17 10:29:58 -07:00
2016-08-24 10:54:34 -06:00
2016-09-23 00:09:15 -07:00
2016-09-26 20:46:34 -07:00
2016-09-03 20:24:29 -06:00
2016-09-13 20:34:59 -07:00
2016-09-27 21:29:55 -07:00
2016-10-04 22:45:38 -07:00
2016-10-04 22:29:21 -07:00
2016-10-13 09:21:22 -07:00
2016-09-11 09:23:33 +02:00
2016-08-20 15:40:16 -07:00
2016-09-13 23:10:49 -07:00
2016-08-22 08:20:31 +02:00
2016-09-06 14:50:02 -06:00
2016-08-20 15:40:16 -07:00
2016-10-11 00:28:19 -07:00
2016-10-10 19:38:32 +02:00
2016-08-20 15:40:16 -07:00
2016-10-04 01:07:17 -07:00
2016-09-01 19:23:26 +02:00
2016-09-03 16:45:31 -07:00
2016-08-19 14:56:10 +02:00
2016-09-23 10:28:05 +02:00
2016-08-20 15:40:16 -07:00
2016-08-28 19:09:34 -06:00
2016-10-10 19:38:20 +02:00
2016-09-03 20:21:59 -06:00
2016-09-01 22:34:07 -06:00
2016-10-11 00:28:19 -07:00
2016-10-11 00:28:19 -07:00
2016-09-06 08:51:51 -06:00
2016-09-27 21:29:55 -07:00
2016-10-04 21:57:40 -07:00
2016-07-19 19:16:31 -07:00
2016-09-14 11:58:26 +02:00
2016-09-04 10:37:10 -06:00
2016-10-04 20:44:32 -07:00
2016-08-20 15:40:16 -07:00
2016-09-04 10:32:12 -06:00
2016-08-20 15:40:16 -07:00
2016-08-20 15:40:16 -07:00
2016-09-05 11:33:35 -06:00
2016-10-04 22:37:45 -07:00
2016-08-04 22:44:37 -07:00
2016-09-06 18:18:34 -07:00
2016-10-01 20:45:39 -07:00
2016-08-20 15:40:16 -07:00
2016-10-11 00:28:19 -07:00
2016-09-13 21:27:43 +02:00
2016-10-11 00:28:19 -07:00
2016-10-11 00:28:19 -07:00
2016-10-11 00:28:19 -07:00
2016-09-06 18:28:55 -07:00
2016-09-30 08:43:18 -07:00