Skip to content

SDK Client Library for feedmenow.io APIs

Notifications You must be signed in to change notification settings

mcred/FeedMeNow-PHP

Repository files navigation

PHP Client for feedmenow.io APIs

Build Status Maintainability Test Coverage

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.