kylemilloy / edamam-php
PHP Library for the Edamam API
1.0.0
2022-11-14 14:36 UTC
Requires
- guzzlehttp/guzzle: ^7.0
- tightenco/collect: ^9.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.14
- phpunit/phpunit: ^7.1.5
README
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