maidmaid/guidle

There is no license information available for the latest version (v0.1.0) of this package.

Guidle client library

v0.1.0 2017-02-15 14:45 UTC

This package is not auto-updated.

Last update: 2024-12-21 22:08:11 UTC


README

Guidle client library. Require >= 5.3.

Build Status Latest Stable Version License

Installation

composer require maidmaid/guidle

Usage

<?php

use Maidmaid\Guidle\Guidle;

$guidle = new Guidle('http://www.guidle.com/...');

foreach ($guidle->getOffers() as $o) {
    // title
    $d = $guidle->getOfferDetail($o);
    echo $guidle->getOfferDetailTitle($d)."\n";;

    // dates
    foreach ($guidle->getOfferDates($o) as $d) {
        echo $guidle->getOfferStartDate($d)."\n";
        echo $guidle->getOfferEndDate($d)."\n";
        echo implode(' ', $guidle->getOfferWeekdaysDate($d))."\n";
    }

    echo "\n";
}

License

Guidle client library is licensed under the MIT License - see the LICENSE file for details.