jpbernius / FMeat.php

PHP Library for accessing the FMeat API

Home Page:https://jpbernius.github.io/FMeat.php/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

PHP Library for accessing the FMeat API

https://jpbernius.github.io/FMeat.php/

License:MIT License


Languages

Language:PHP 100.0%