mcred / feed-me-now-api
Client Library for feedmenow.io APIs
v0.1.0
2018-02-12 20:03 UTC
Requires
- php: ^5.5|^7.0
- php-http/client-common: ^1.1
- php-http/discovery: ^1.0
- php-http/guzzle6-adapter: ^1.0
- php-http/httplug: ^1.0
- php-http/message: ^1.0
- webmozart/assert: ^1.2
Requires (Dev)
- guzzlehttp/psr7: ^1.4
- phpunit/phpunit: ^7.0
- theseer/autoload: ^1.24
This package is auto-updated.
Last update: 2024-11-06 17:07:44 UTC
README
Installation
composer require mcred/feed-me-now-api
Example Usage
require "./vendor/autoload.php"; $feedMeNow = new FeedMeNow\FeedMeNow(); $response = $feedMeNow->providers()->get("Atlanta, GA"); $providers = $response->getData(); foreach($providers as $provider) { echo $provider->getName(); }
Available Methods
$feedMeNow->providers()->get("Atlanta,GA"); $feedMeNow->search()->get("Pizza", "Atlanta,GA");
Acknowledgements
I wanted to build a library with PSR-7 HTTP Message Interfaces and took a lot of inspiration from the Mailgun PHP Client. They did a great job building a SDK and you should check it out if you want to see some really great code.