fddb.info
This gem is an implementation of the fddb.info API to get food related information.
Usage
Create an instance of
fddb = FDDB::API.new " item = fddb.get_item <<item_id>>\n search = fddb.search <<search_query>>\n\n item.get_ingredients # returns all ingredients of the item\n search.get_ingredients # returns ingredients of all items\n">>
Installation
Add this line to your application's Gemfile:
gem 'fddb'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fddb
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request