Sha256: 6c022993759d61912dbd1ed74fcff3841285357836dfb485100f18b2f7dbd6ac
Contents?: true
Size: 552 Bytes
Versions: 2
Compression:
Stored size: 552 Bytes
Contents
# Esha Esha is a simple wrapper that makes the ESHA nutrition api a little easier to work with. ## Installation Add this line to your application's Gemfile: gem 'esha' And then run: $ bundle Or install it yourself: $ gem install esha ## Usage ```ruby Esha::Api.key = '....' # Get an api key from http://developer.esha.com/ pizza = Esha::Food.search('pizza').first pizza.description # => 'Pizza, hand tossed, cheese, 12"' pizza.product # => "Domino's Pizza" pizza.nutrients.first.summary => "1 Piece -> 187.255 kcal Calories" ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
esha-0.0.2 | README.md |
esha-0.0.1 | README.md |