Download the PHP package awaluk/helion-special-offer without Composer
On this page you can find all versions of the php package awaluk/helion-special-offer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download awaluk/helion-special-offer
More information about awaluk/helion-special-offer
Files in awaluk/helion-special-offer
Download awaluk/helion-special-offer
More information about awaluk/helion-special-offer
Files in awaluk/helion-special-offer
Vendor awaluk
Package helion-special-offer
Short Description Library to download daily special offer from Helion
License MIT
Package helion-special-offer
Short Description Library to download daily special offer from Helion
License MIT
Please rate this library. Is it a good library?
Informations about the package helion-special-offer
Helion Special Offer
Simple library to read data from Helion.pl special daily offer.
Thanks to Helion for preparing data as JSON.
Download
With Composer
or download release.
Example
Configuration
Name | Description | Default value |
---|---|---|
$partnerNumber |
Partner number from Helion | - |
$coverSize |
Width of cover image (available values: 65, 72, 88, 120, 125, 181, 326) | 326 |
$file |
Location and name cache file | without cache |
Available data
Method Book object | Returned value |
---|---|
getTitle() |
Book title |
getOldPrice() |
Book price before promotion |
getPromotionPrice() |
Book price in promotion |
getLink() |
Link to book in helion.pl |
getCoverLink() |
Link to book cover |
getToCartLink() |
Link adding book to cart |
Attention!
If you using cache file, add execution $data->download();
to CRON everyday at moment after midnight. If you don't, the book will not be updated.
License
All versions of helion-special-offer with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7
The package awaluk/helion-special-offer contains the following files
Loading the files please wait ....