/edamam-php

A PHP library for interfacing with the Edamam API

Primary LanguagePHPMIT LicenseMIT

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