Skip to content

okaufmann/qwertee-php

Repository files navigation

Qwertee Client

run-tests Scrutinizer Code Quality Latest Stable Version Total Downloads Latest Unstable Version License

Simple client to access Qwertee todays and last chance tees

Installation

You can install the package via composer:

composer require okaufmann/qwertee-php

Usage

require_once 'vendor/autoload.php';

use Okaufmann\QwerteePhp\Qwertee;

$lastChance = Qwertee::lastChance();
var_dump($lastChance);

Result

[
    [
        'title'=> 'Cyber Monday InsaniTEE Sale!',
        'zoom'=> 'https://cdn.qwertee.com/images/designs/product-thumbs/1575287644-156381-zoom-500x600.jpg',
        'mens'=> 'https://cdn.qwertee.com/images/designs/product-thumbs/1575287644-156381-mens-500x600.jpg',
        'womens'=> 'https://cdn.qwertee.com/images/designs/product-thumbs/1575287644-156381-womens-500x600.jpg',
        'kids'=> 'https://cdn.qwertee.com/images/designs/product-thumbs/1575287644-156381-kids-500x600.jpg',
        'hoodie'=> 'https://cdn.qwertee.com/images/designs/product-thumbs/1575287644-156381-hoodie-500x600.jpg',
        'sweater'=> 'https://cdn.qwertee.com/images/designs/product-thumbs/1575287644-156381-sweater-500x600.jpg',
        'releasedAt'=> '2019-12-01',
    ],
    // ...
]

Credits

License

The MIT License (MIT). Please see License File for more information.

This package was generated using the Laravel Package Boilerplate.