食べ物の名前をURLに渡すだけで、カロリー値を出力してくれる超シンプルなAPI『Calorie API』 | IDEA*IDEAFirst Faved : Feb 14 2008 by DotUFaved : 5 times (3 with notes)Viewed : 8 timesFave It!
Faves for this Web page
- suzukinasake - Feb 15 2008
Quoted: ドットコム系情報サイト、百式の中の人のブログです。ライフハックやGTD、その他つらつらと興味深い情報を配信するブログです。
こ、これは便利なのでは。食べ物の名前をURLに渡すと、だいたいカロリーはこれぐらい、というデータを返してくれるAPIです。
以下、簡単にご紹介。↑ まずはCalorie APIのサイトでテスト。「カレー」と入れてみます。形式はXMLで。
↑ するとこのようにデータが!ざっくりしたデータですが、十分なのでは・・・。
もちろんURLに渡す方式でもOKです。形式は以下のとおり。
http://soogle.ddo.jp/calapi/api?name=[UTF-8でエンコードされた食品名]&output=[xml|csv|text]
対応している食品は順次増えているようですが、充実してくればいろいろ使えるのでは・・・ダイエットは永遠の課題ですしね。
ご興味がある方は以下からどうぞ。Quoted:
カロリーAPI ダイエット2.0
http://soogle.ddo.jp/calapi/
Already a user? Sign In
Add a Fave for this Web page
- What happens when I press Publish?
- Your Fave for this Web page gets shared with the Faves community. You can access it at any time by selecting "My Faves" from the menu above.
- Why do you ask for my email address?
- We use your email address to create an account, so you can easily find your Fave again at a later time.
Related Content from Around Faves
api
-
FriendFeed API has client-side JSON as well as uthenticated HTTP using a "Remote Key" that is unique to each user.
Also, Python and PHP API libraries here:
http://code.google.com/p/friendfeed-api/
2 FaversViewed: 3 Times - branchiopoda - Aug 17 20072 FaversViewed: 11 Times
- mike - Sep 04 20081 FaverViewed: 5 Times
