Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.13 KB

README.md

File metadata and controls

30 lines (19 loc) · 1.13 KB

Edamam-PHP

Software License Build Status StyleCI Total Downloads

The Edama-PHP library provides access to the Edamam API for the PHP language.

Installation

Install with composer using composer require kylemilloy/edamam-php

Usage

Simple usage looks like:

\Edamam\Api\FoodDatabase\FoodDatabase::setApiCredentials('app_id', 'app_key');

$results = \Edamam\Api\FoodDatabase\FoodRequest::find(['ingredient' => 'pizza'])->results();

For more complex usage view the FoodDatabase API Docs.

Todo

  • Add full support for Food Database API
  • Add full support for Nutrition Analysis API
  • Add full support for Recipe Search API