xaviershay / nom

command line access to ausnom.com

This URL has Read+Write access

Xavier Shay (author)
Sat Jan 24 20:57:07 -0800 2009
commit  d68d6b99c64b7406e704b51df1c9a549b3ffe376
tree    a40481ed187caf43d7e48bfc604dfd88d9a71e3e
parent  4ac474e5fdc4656b16bad8fc01ca632cc11f59ed
nom / README.txt
100644 34 lines (26 sloc) 0.819 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
nom
    by Xavier Shay
    for http://ausnom.com
 
== Description
 
Command line access to ausnom.com (AU and NZ nutritional data)
 
  ~ $ nom Tofu
  1: Ice Confection, Tofu-Based, Vanilla Flavour
  2: Tofu (Soy Bean Curd), Burger Pattie, As Purchased
  3: Tofu (Soy Bean Curd), Firm, As Purchased
  4: Tofu (Soy Bean Curd), Silken Or Soft, As Purchased
  5: Tofu (Soy Bean Curd), Smoked, As Purchased
  ~ $ nom Tofu 5
  Tofu (Soy Bean Curd), Smoked, As Purchased
  Energy 751.0KJ
  Protein 17.3G
  ~ $ nom Tofu 3
  Tofu (Soy Bean Curd), Firm, As Purchased
  Energy 530.0KJ
  Protein 12.0G
 
== Install
 
  git clone git://github.com/xaviershay/nom.git
  cd nom
  rake gem:install
 
== TODO
 
* Push the gem to a server somewhere so you can just install that
* Allow calories to be displayed rather than energy