New Activities Example
Today's release includes a new live data example that focuses on fetching a user's logged activities on a selected date.
Today's release includes a new live data example that focuses on fetching a user's logged activities on a selected date.
Today's release includes quite a few structural changes to the reference app code that will make it easier to develop new informational content in the future. The changes include:
For anyone looking to contribute to this project, there are two things that can always be improved: the content describing how to use specific fitgem methods in a Rails app and the documentation of the reference app itself so that other developers can clone, inspect, and play with the code easier.
Many, many thanks go to Marcel van Pinxteren for the pull request that started all this work. I hadn't improved or cleaned up the code for quite awhile and his pull request to update Rails and fix tests got the ball rolling on all these other improvements.
Fitbitclient.com has moved to Heroku! Along with the change of venue I've spent a considerable amount of time finalizing the update to design that was mentioned in the February 19th post below.
I settled down at the February 18th MadRailers Meetup Hack Day determined to update this reference site and get it looking nice and clean with the Twitter Bootstrap library. Once I dug into the source, however, I realized I could restructure the whole app to be a lot nice, code-wise, and DRY things up a bit in the process.
Here's the changelog for this release:
I've added a Resources page with new examples around the Foods abstraction. Check it out to learn about searching for foods, retrieving a user's foods, logging a user's foods, creating new foods, and deleting user's logged foods.
Today I pushed a new look of this site live to the web. It includes three main features:
The purpose of this site is both to illustrate to developers how to use fitgem in the context of a Rails application, and also to provide a 'real world' application so I can test out the fitgem interfaces to ensure they're sufficiently usable.
I'm continually working on adding new examples on how to use the various interfaces exposed from the gem. I will be pushing them live and noting on this blog the updates as I finish them.
I'm always looking for feedback on this stuff. For suggestions/bug reports on this web site, please enter issues on the fitgem-client repository. For suggestions or bug reports on fitgem itself, please enter issues at the gem repository.