Livestrong API access

Hi Hackers -

For those of you interested in the Demand Media Health and Fitness App Challenge, here's an introduction to the Livestrong API from Jim Grady, Director, Software Engineering, LIVESTRONG.COM:

LIVESTRONG is providing access to its calorie tracking app that allows user to monitor their calorie intake and burn through an extensive library of foods and exercises. Developers will have access to the full library.

The LIVESTRONG.COM Calorie Tracker offers:

• Easy to use interface for tracking
• The largest database of food and restaurant items (more than 1.3M)
• Personalized daily calorie intake based on your goals
• Weight tracking with easy to read progress chart
• Motivational community that will inspire you to stick with your goals
• Water tracking to help you ensure you are staying hydrated
• Daily reminders to keep you on track to hitting your weight goal
• Full support for use on iPhone and iPad

The LIVESTRONG.COM Calorie Tracker is a diet coach, nutritionist, calorie counter and food planner at your fingertips.

http://www.livestrong.com/thedailyplate

Here are a few basic API calls to get everybody started. To keep it simple for everybody during the hackathon, we’ll open the api on the urls below and won’t require authentication for them over the weekend.

Food search:

https://service.livestrong.com/service/food/foods/?query=cheese

https://service.livestrong.com/service/food/foods/?query=cheese&limit=100&fill=item,item_title,cals

https://service.livestrong.com/service/food/foods/?foodId=38553

Fitness search:

https://service.livestrong.com/service/fitness/exercises/?query=run

https://service.livestrong.com/service/fitness/exercises/?query=run&fill=exercise,description

https://service.livestrong.com/service/fitness/exercises/?query=run&fill=exercise,description&limit=100

 

Activity feed (selection of recent conversation comments plus food, fitness, and water tracking, along with related livestrong.com content if available).

https://node.livestrong.com/activity/feed

https://node.livestrong.com/activity/feed?limit=100

https://node.livestrong.com/activity/feed?after_guid=0ece5b2f9988d4bff6e6e92ae003069103c

(The node feed is fast enough to be polled frequently for realtime apps – pass the most recent guid you’ve received as “after guid” so that you only get new data, not what you already have. The feed is also available over plain http while the food/fitness search require https)

 Please attend the Livestrong API workshop on Saturday morning to get more info!


Be the first to comment

Please check your e-mail for a link to activate your account.