Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.16 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.16 KB

FMeat.php

GitHub Actions Status Build Status Scrutinizer Code Quality Code Coverage Total Downloads

PHP Library for accessing the FMeat API.

Installation

composer require jpbernius/fmeat

Usage

use JPBernius\FMeat\FMeatClient;

$fmeat = new FMeatClient();
$week = $fmeat->getCurrentWeek();

foreach ($week as $day) {
  foreach ($day as $dish) {
	echo($dish->getName());
  }
}

Credits

eat-api by @srehwald