library guidle
Guidle client library
maidmaid/guidle
Guidle client library
- Wednesday, February 15, 2017
- by maidmaid
- Repository
- 1 Watchers
- 0 Stars
- 5 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
Guidle
Guidle client library. Require >= 5.3., (*1)
, (*2)
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., (*3)