—| layout: posttail authors: [“Dan Mayer”] title: “The Ruby-fitbit API has been updated” category: tags: [] —

More about it can be found on here, Ruby-fitbit api on github. Also, the original announcement can be found on my blog. Basically there is now detailed access to any of the data types for any given day. This can be used to backup your fitbit or gather the data for your own charting purposes. Which I will likely start taking advantage of soon for my fitbit blog widget. Example: ~/projects/ruby-fitbit(master) > ruby bin/ruby-fitbit MYEMAIL MYPASS steps 06/22/2010Calories Burned 1012Steps Taken 0Milkes Walked .00Activity Levels Durations:Sedentary 16hrs 7minLightly 0minFairly # => {fitbit.fairly_active}Very 0minsteps data for data Tue Jun 22 00:00:00 -0400 2010+——————————–+——-+ 0 1 +——————————–+——-+ Tue Jun 22 21:50:00 -0400 2010 91.0   Tue Jun 22 05:05:00 -0400 2010 0.0   Tue Jun 22 16:15:00 -0400 2010 0.0   Tue Jun 22 10:40:00 -0400 2010 0.0   Tue Jun 22 19:55:00 -0400 2010 69.0   Tue Jun 22 14:20:00 -0400 2010 15.0   Tue Jun 22 08:45:00 -0400 2010 1.0   Tue Jun 22 03:10:00 -0400 2010 0.0   Tue Jun 22 23:35:00 -0400 2010 0.0   Tue Jun 22 01:15:00 -0400 2010 0.0   Tue Jun 22 18:00:00 -0400 2010 0.0   Tue Jun 22 12:25:00 -0400 2010 0.0   Tue Jun 22 06:50:00 -0400 2010 0.0   Tue Jun 22 21:40:00 -0400 2010 11.0   Tue Jun 22 10:30:00 -0400 2010 0.0   Tue Jun 22 04:55:00 -0400 2010 0.0   Tue Jun 22 16:05:00 -0400 2010 0.0   Tue Jun 22 19:45:00 -0400 2010 543.0   Tue Jun 22 14:10:00 -0400 2010 0.0   Tue Jun 22 08:35:00 -0400 2010 347.0   Tue Jun 22 03:00:00 -0400 2010 0.0   Tue Jun 22 23:25:00 -0400 2010 0.0   Tue Jun 22 01:05:00 -0400 2010 0.0   Tue Jun 22 17:50:00 -0400 2010 0.0   Tue Jun 22 12:15:00 -0400 2010 0.0   Tue Jun 22 06:40:00 -0400 2010 0.0   Tue Jun 22 21:30:00 -0400 2010 25.0   Tue Jun 22 10:20:00 -0400 2010 0.0   Tue Jun 22 04:45:00 -0400 2010 0.0   Tue Jun 22 15:55:00 -0400 2010 0.0   Tue Jun 22 19:35:00 -0400 2010 19.0   Tue Jun 22 14:00:00 -0400 2010 0.0   Tue Jun 22 08:25:00 -0400 2010 0.0   Tue Jun 22 02:50:00 -0400 2010 0.0   Tue Jun 22 23:15:00 -0400 2010 0.0   Tue Jun 22 06:30:00 -0400 2010 0.0   Tue Jun 22 00:55:00 -0400 2010 0.0   Tue Jun 22 17:40:00 -0400 2010 0.0   Tue Jun 22 12:05:00 -0400 2010 0.0   Tue Jun 22 21:20:00 -0400 2010 23.0   Tue Jun 22 15:45:00 -0400 2010 0.0   Tue Jun 22 10:10:00 -0400 2010 0.0   Tue Jun 22 04:35:00 -0400 2010 0.0   Tue Jun 22 19:25:00 -0400 2010 535.0   Tue Jun 22 02:40:00 -0400 2010 0.0   Tue Jun 22 13:50:00 -0400 2010 0.0   Tue Jun 22 08:15:00 -0400 2010 0.0   Tue Jun 22 23:05:00 -0400 2010 0.0   Tue Jun 22 11:55:00 -0400 2010 0.0   Tue Jun 22 06:20:00 -0400 2010 0.0   Tue Jun 22 00:45:00 -0400 2010 0.0   Tue Jun 22 17:30:00 -0400 2010 0.0   Tue Jun 22 21:10:00 -0400 2010 0.0   Tue Jun 22 15:35:00 -0400 2010 0.0   Tue Jun 22 10:00:00 -0400 2010 0.0   Tue Jun 22 04:25:00 -0400 2010 0.0   Tue Jun 22 19:15:00 -0400 2010 595.0   Tue Jun 22 08:05:00 -0400 2010 0.0   Tue Jun 22 02:30:00 -0400 2010 0.0   Tue Jun 22 13:40:00 -0400 2010 0.0   Tue Jun 22 22:55:00 -0400 2010 0.0   Tue Jun 22 17:20:00 -0400 2010 0.0   Tue Jun 22 11:45:00 -0400 2010 0.0   Tue Jun 22 06:10:00 -0400 2010 0.0   Tue Jun 22 00:35:00 -0400 2010 0.0   Tue Jun 22 21:00:00 -0400 2010 0.0   Tue Jun 22 04:15:00 -0400 2010 0.0   Tue Jun 22 15:25:00 -0400 2010 0.0   Tue Jun 22 09:50:00 -0400 2010 0.0   Tue Jun 22 19:05:00 -0400 2010 425.0   Tue Jun 22 13:30:00 -0400 2010 0.0   Tue Jun 22 07:55:00 -0400 2010 0.0   Tue Jun 22 02:20:00 -0400 2010 0.0   Tue Jun 22 22:45:00 -0400 2010 0.0   Tue Jun 22 00:25:00 -0400 2010 0.0   Tue Jun 22 17:10:00 -0400 2010 22.0   Tue Jun 22 11:35:00 -0400 2010 0.0   Tue Jun 22 06:00:00 -0400 2010 0.0   Tue Jun 22 20:50:00 -0400 2010 0.0   Tue Jun 22 09:40:00 -0400 2010 0.0   Tue Jun 22 04:05:00 -0400 2010 0.0   Tue Jun 22 15:15:00 -0400 2010 0.0   Tue Jun 22 18:55:00 -0400 2010 62.0   Tue Jun 22 13:20:00 -0400 2010 0.0   Tue Jun 22 07:45:00 -0400 2010 0.0   Tue Jun 22 02:10:00 -0400 2010 0.0   Tue Jun 22 22:35:00 -0400 2010 0.0   Tue Jun 22 05:50:00 -0400 2010 0.0   Tue Jun 22 00:15:00 -0400 2010 0.0   Tue Jun 22 17:00:00 -0400 2010 35.0   Tue Jun 22 11:25:00 -0400 2010 0.0   Tue Jun 22 20:40:00 -0400 2010 0.0   Tue Jun 22 15:05:00 -0400 2010 0.0   Tue Jun 22 09:30:00 -0400 2010 0.0   Tue Jun 22 03:55:00 -0400 2010 0.0   Tue Jun 22 18:45:00 -0400 2010 0.0   Tue Jun 22 02:00:00 -0400 2010 0.0   Tue Jun 22 13:10:00 -0400 2010 0.0   Tue Jun 22 07:35:00 -0400 2010 0.0   Tue Jun 22 22:25:00 -0400 2010 0.0   Tue Jun 22 11:15:00 -0400 2010 0.0   Tue Jun 22 05:40:00 -0400 2010 0.0   Tue Jun 22 00:05:00 -0400 2010 0.0   Tue Jun 22 16:50:00 -0400 2010 0.0   Tue Jun 22 20:30:00 -0400 2010 0.0   Tue Jun 22 14:55:00 -0400 2010 0.0   Tue Jun 22 09:20:00 -0400 2010 0.0   Tue Jun 22 03:45:00 -0400 2010 0.0   Tue Jun 22 18:35:00 -0400 2010 0.0   Tue Jun 22 07:25:00 -0400 2010 0.0   Tue Jun 22 01:50:00 -0400 2010 0.0   Tue Jun 22 13:00:00 -0400 2010 91.0   Tue Jun 22 22:15:00 -0400 2010 445.0   Tue Jun 22 16:40:00 -0400 2010 0.0   Tue Jun 22 11:05:00 -0400 2010 0.0   Tue Jun 22 05:30:00 -0400 2010 0.0   Tue Jun 22 20:20:00 -0400 2010 0.0   Tue Jun 22 14:45:00 -0400 2010 0.0   Tue Jun 22 09:10:00 -0400 2010 0.0   Tue Jun 22 03:35:00 -0400 2010 0.0   Wed Jun 23 00:00:00 -0400 2010 0.0   Tue Jun 22 07:15:00 -0400 2010 0.0   Tue Jun 22 01:40:00 -0400 2010 0.0   Tue Jun 22 18:25:00 -0400 2010 0.0   Tue Jun 22 12:50:00 -0400 2010 0.0   Tue Jun 22 22:05:00 -0400 2010 80.0   Tue Jun 22 16:30:00 -0400 2010 0.0   Tue Jun 22 10:55:00 -0400 2010 0.0   Tue Jun 22 05:20:00 -0400 2010 0.0   Tue Jun 22 20:10:00 -0400 2010 0.0   Tue Jun 22 03:25:00 -0400 2010 0.0   Tue Jun 22 14:35:00 -0400 2010 0.0   Tue Jun 22 09:00:00 -0400 2010 370.0   Tue Jun 22 23:50:00 -0400 2010 0.0   Tue Jun 22 12:40:00 -0400 2010 0.0   Tue Jun 22 07:05:00 -0400 2010 0.0   Tue Jun 22 01:30:00 -0400 2010 0.0   Tue Jun 22 18:15:00 -0400 2010 0.0   Tue Jun 22 21:55:00 -0400 2010 69.0   Tue Jun 22 16:20:00 -0400 2010 0.0   Tue Jun 22 10:45:00 -0400 2010 0.0   Tue Jun 22 05:10:00 -0400 2010 0.0   Tue Jun 22 20:00:00 -0400 2010 0.0   Tue Jun 22 08:50:00 -0400 2010 13.0   Tue Jun 22 03:15:00 -0400 2010 0.0   Tue Jun 22 14:25:00 -0400 2010 0.0   Tue Jun 22 23:40:00 -0400 2010 0.0   Tue Jun 22 18:05:00 -0400 2010 0.0   Tue Jun 22 12:30:00 -0400 2010 0.0   Tue Jun 22 06:55:00 -0400 2010 0.0   Tue Jun 22 01:20:00 -0400 2010 0.0   Tue Jun 22 21:45:00 -0400 2010 17.0   Tue Jun 22 05:00:00 -0400 2010 0.0   Tue Jun 22 16:10:00 -0400 2010 0.0   Tue Jun 22 10:35:00 -0400 2010 0.0   Tue Jun 22 19:50:00 -0400 2010 155.0   Tue Jun 22 14:15:00 -0400 2010 40.0   Tue Jun 22 08:40:00 -0400 2010 203.0   Tue Jun 22 03:05:00 -0400 2010 0.0   Tue Jun 22 23:30:00 -0400 2010 0.0   Tue Jun 22 01:10:00 -0400 2010 0.0   Tue Jun 22 17:55:00 -0400 2010 0.0   Tue Jun 22 12:20:00 -0400 2010 0.0   Tue Jun 22 06:45:00 -0400 2010 0.0   Tue Jun 22 21:35:00 -0400 2010 53.0   Tue Jun 22 10:25:00 -0400 2010 0.0   Tue Jun 22 04:50:00 -0400 2010 0.0   Tue Jun 22 16:00:00 -0400 2010 0.0   Tue Jun 22 19:40:00 -0400 2010 438.0   Tue Jun 22 14:05:00 -0400 2010 0.0   Tue Jun 22 08:30:00 -0400 2010 12.0   Tue Jun 22 02:55:00 -0400 2010 0.0   Tue Jun 22 23:20:00 -0400 2010 0.0   Tue Jun 22 06:35:00 -0400 2010 0.0   Tue Jun 22 01:00:00 -0400 2010 0.0   Tue Jun 22 17:45:00 -0400 2010 0.0   Tue Jun 22 12:10:00 -0400 2010 0.0   Tue Jun 22 21:25:00 -0400 2010 32.0   Tue Jun 22 15:50:00 -0400 2010 0.0   Tue Jun 22 10:15:00 -0400 2010 0.0   Tue Jun 22 04:40:00 -0400 2010 0.0   Tue Jun 22 19:30:00 -0400 2010 499.0   Tue Jun 22 02:45:00 -0400 2010 0.0   Tue Jun 22 13:55:00 -0400 2010 0.0   Tue Jun 22 08:20:00 -0400 2010 0.0   Tue Jun 22 23:10:00 -0400 2010 0.0   Tue Jun 22 12:00:00 -0400 2010 0.0   Tue Jun 22 06:25:00 -0400 2010 0.0   Tue Jun 22 00:50:00 -0400 2010 0.0   Tue Jun 22 17:35:00 -0400 2010 0.0   Tue Jun 22 21:15:00 -0400 2010 67.0   Tue Jun 22 15:40:00 -0400 2010 0.0   Tue Jun 22 10:05:00 -0400 2010 0.0   Tue Jun 22 04:30:00 -0400 2010 0.0   Tue Jun 22 19:20:00 -0400 2010 604.0   Tue Jun 22 08:10:00 -0400 2010 0.0   Tue Jun 22 02:35:00 -0400 2010 0.0   Tue Jun 22 13:45:00 -0400 2010 0.0   Tue Jun 22 23:00:00 -0400 2010 0.0   Tue Jun 22 17:25:00 -0400 2010 0.0   Tue Jun 22 11:50:00 -0400 2010 10.0   Tue Jun 22 06:15:00 -0400 2010 0.0   Tue Jun 22 00:40:00 -0400 2010 0.0   Tue Jun 22 21:05:00 -0400 2010 0.0   Tue Jun 22 04:20:00 -0400 2010 0.0   Tue Jun 22 15:30:00 -0400 2010 0.0   Tue Jun 22 09:55:00 -0400 2010 0.0   Tue Jun 22 19:10:00 -0400 2010 291.0   Tue Jun 22 13:35:00 -0400 2010 0.0   Tue Jun 22 08:00:00 -0400 2010 0.0   Tue Jun 22 02:25:00 -0400 2010 0.0   Tue Jun 22 22:50:00 -0400 2010 0.0   Tue Jun 22 17:15:00 -0400 2010 0.0   Tue Jun 22 11:40:00 -0400 2010 0.0   Tue Jun 22 06:05:00 -0400 2010 0.0   Tue Jun 22 00:30:00 -0400 2010 0.0   Tue Jun 22 20:55:00 -0400 2010 0.0   Tue Jun 22 04:10:00 -0400 2010 0.0   Tue Jun 22 15:20:00 -0400 2010 0.0   Tue Jun 22 09:45:00 -0400 2010 0.0   Tue Jun 22 19:00:00 -0400 2010 161.0   Tue Jun 22 13:25:00 -0400 2010 0.0   Tue Jun 22 07:50:00 -0400 2010 0.0   Tue Jun 22 02:15:00 -0400 2010 0.0   Tue Jun 22 22:40:00 -0400 2010 0.0   Tue Jun 22 00:20:00 -0400 2010 0.0   Tue Jun 22 17:05:00 -0400 2010 0.0   Tue Jun 22 11:30:00 -0400 2010 0.0   Tue Jun 22 05:55:00 -0400 2010 0.0   Tue Jun 22 20:45:00 -0400 2010 0.0   Tue Jun 22 09:35:00 -0400 2010 0.0   Tue Jun 22 04:00:00 -0400 2010 0.0   Tue Jun 22 15:10:00 -0400 2010 0.0   Tue Jun 22 18:50:00 -0400 2010 0.0   Tue Jun 22 13:15:00 -0400 2010 0.0   Tue Jun 22 07:40:00 -0400 2010 0.0   Tue Jun 22 02:05:00 -0400 2010 0.0   Tue Jun 22 22:30:00 -0400 2010 0.0   Tue Jun 22 05:45:00 -0400 2010 0.0   Tue Jun 22 00:10:00 -0400 2010 0.0   Tue Jun 22 16:55:00 -0400 2010 37.0   Tue Jun 22 11:20:00 -0400 2010 0.0   Tue Jun 22 20:35:00 -0400 2010 26.0   Tue Jun 22 15:00:00 -0400 2010 0.0   Tue Jun 22 09:25:00 -0400 2010 0.0   Tue Jun 22 03:50:00 -0400 2010 0.0   Tue Jun 22 18:40:00 -0400 2010 0.0   Tue Jun 22 01:55:00 -0400 2010 0.0   Tue Jun 22 13:05:00 -0400 2010 75.0   Tue Jun 22 07:30:00 -0400 2010 0.0   Tue Jun 22 22:20:00 -0400 2010 22.0   Tue Jun 22 11:10:00 -0400 2010 0.0   Tue Jun 22 05:35:00 -0400 2010 0.0   Tue Jun 22 00:00:00 -0400 2010 0.0   Tue Jun 22 16:45:00 -0400 2010 0.0   Tue Jun 22 20:25:00 -0400 2010 0.0   Tue Jun 22 14:50:00 -0400 2010 0.0   Tue Jun 22 09:15:00 -0400 2010 0.0   Tue Jun 22 03:40:00 -0400 2010 0.0   Tue Jun 22 18:30:00 -0400 2010 0.0   Tue Jun 22 07:20:00 -0400 2010 0.0   Tue Jun 22 01:45:00 -0400 2010 0.0   Tue Jun 22 12:55:00 -0400 2010 0.0   Tue Jun 22 22:10:00 -0400 2010 268.0   Tue Jun 22 16:35:00 -0400 2010 0.0   Tue Jun 22 11:00:00 -0400 2010 0.0   Tue Jun 22 05:25:00 -0400 2010 0.0   Tue Jun 22 20:15:00 -0400 2010 0.0   Tue Jun 22 03:30:00 -0400 2010 0.0   Tue Jun 22 14:40:00 -0400 2010 0.0   Tue Jun 22 09:05:00 -0400 2010 74.0   Tue Jun 22 23:55:00 -0400 2010 0.0   Tue Jun 22 12:45:00 -0400 2010 0.0   Tue Jun 22 07:10:00 -0400 2010 0.0   Tue Jun 22 01:35:00 -0400 2010 0.0   Tue Jun 22 18:20:00 -0400 2010 0.0   Tue Jun 22 22:00:00 -0400 2010 0.0   Tue Jun 22 16:25:00 -0400 2010 0.0   Tue Jun 22 10:50:00 -0400 2010 0.0   Tue Jun 22 05:15:00 -0400 2010 0.0   Tue Jun 22 20:05:00 -0400 2010 0.0   Tue Jun 22 08:55:00 -0400 2010 0.0   Tue Jun 22 03:20:00 -0400 2010 0.0   Tue Jun 22 14:30:00 -0400 2010 16.0   Tue Jun 22 23:45:00 -0400 2010 0.0   Tue Jun 22 18:10:00 -0400 2010 0.0   Tue Jun 22 12:35:00 -0400 2010 0.0   Tue Jun 22 07:00:00 -0400 2010 0.0   Tue Jun 22 01:25:00 -0400 2010 0.0 +——————————–+——-+289 rows in setdone


blog comments powered by Disqus
Dan Mayer Profile Pic

I primary write about Ruby development, distributed teams, & dev/PM process. The archives go back to my first CS classes during college when I was learning to write software. I contribute to a few OSS projects and often work on my own projects. You can find my code on github.

Twitter @danmayer

Github @danmayer