Message Boards » Website Suggestions/Feedback


« Prev 1
« Prev 1
Topic has been inactive for 30 days or more and images have been disabled.
Display All Images
April 17, 2012 1:57 PM
Where can I find information on the API for MFP?

I've remember reading in a forum thread an MFP employee stating that they had an open API but I can't find any indication of that on the website.
April 18, 2012 7:10 AM
Nobody? Maybe I should post on a different board?
April 23, 2012 8:43 AM
Hello - Sorry for any confusion but currently the MyFitnessPal API has not been publicly released.
April 23, 2012 2:44 PM
Okay thanks, was sure I read that on these forums somewhere. Any word on when/if it will be?
April 27, 2012 8:55 PM
Nothing as of right now but we will let every know if we do.
May 20, 2012 7:18 AM

I'd also like to use the food database to build an application to track allergy symptoms against foods. A public API would be really great.

May 22, 2012 8:15 AM
Agreed, an API would be fantastic. I'd love to embed a little competitive visuals into my website, just for starters!
May 22, 2012 8:18 AM
May 22, 2012 8:42 AM
May 28, 2012 5:01 PM
May 29, 2012 1:08 AM
Edited by 50lan On May 29, 2012 1:09 AM
May 29, 2012 7:09 PM
June 5, 2012 11:42 PM
June 6, 2012 1:18 PM
Just the ability to:
1) Post weight
2) Pull reports (weight, calories, carbs, etc.) would be huge (and very simple to develop).

#1 Would allow me to have my WiThings scale automatically send info to MFP.
#2 Would allow me to run reports on my progress. Frankly, I'm hesitant now to put all of my valuable data into something I'll never be able to retrieve it from. At minimum let us download the data we've put in (via spreadsheet or something).

You've already put #1 in place for FitBit ( Limiting access to only people that have purchased FitBit products is kinda not cool. Also not smart for your company's longevity...think being a platform that services can link into and share data with (facebook, google apps, foursqaure, xboxlive, etc.), not a closed, standalone service (myspace, gowalla).
Edited by ShakyPants On June 6, 2012 1:21 PM
July 5, 2012 2:21 PM
July 6, 2012 7:23 PM
Thanks for the all input and +1 - We see that is a very popular request!
July 13, 2012 8:57 AM
I agree, an API for this would be outstanding! Keep us posted :-)
July 15, 2012 2:24 PM
Yes please!! I have a great app idea that would directly benefit and strengthen the community at MFP!
July 26, 2012 4:03 AM
You should certainly make the API public. MyFitnessPal has been instrumental in my weight loss in the past, and now that I'm writing my own app to mash up all my health & fitness data, I would hate to leave MFP for a competitor tool with a more open approach to sharing data.

Don't let your users-developers go!!! Make the API public, please :)
July 26, 2012 7:53 AM
I would like this just to make addition of recipes easier. I have a few sites that I use a lot and I'd love to be able to automatically parse their recipe and use the MFP database to create an MFP recipe.
August 2, 2012 12:01 PM
smokin I too wish to use the api to aggregate data collected about myself and my wife and use it various ways that will only draw more traffic to the myfitnesspal community.


For those that can't wait for an API I might suggest you try using get-http commands in your various languages and then parsing the HTML fields to get the data you want. Sure it's a pain, and it's also often overlooked by developers that are REALLY desperate for the information, plus it's fun to build a parser for random HTML data, until they add a new field or they use dynamic resizing ads lol :)

Don't message me looking for example because I haven't done any for MFP .. yet .. I may though and if I do I'll make sure to bookmark this thread to come back to :P

harvesting the data with a http-get shouldn't violate any terms of use policies if used in context of the user wihch it has to be to have the correct data to harvest.... so I don't see any problems here. The dev can comment on the idea perhaps? It's a good way to tide those developers over before they lose interest :)

August 6, 2012 5:23 PM
August 25, 2012 3:26 PM
August 26, 2012 6:13 AM

Yes please!! I have a great app idea that would directly benefit and strengthen the community at MFP!

Me too! I hope yours isn't the same as mine. Ha.

Come on, guys, open up that API already!
August 28, 2012 3:53 PM
If you view page source on the reports section of the website, you will find the URLs where the charts get their data from. It's prettymuch a basic REST API. That being said, I'm sure it's subject to change without notice since it is not a public API. In all cases, the last number is the number of days of history you want to pull. Write a parser for the XML, and you've at least got access to your data.





Message Boards » Website Suggestions/Feedback

Posts by members, moderators and admins should not be considered medical advice and no guarantee is made against accuracy.