mcred/feed-me-now-api

Client Library for feedmenow.io APIs

v0.1.0 2018-02-12 20:03 UTC

This package is auto-updated.

Last update: 2024-11-06 17:07:44 UTC


README

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.