thedava / steam-discount-detector
Detects if steam has a discount for a specific app
Installs: 54
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 1
pkg:composer/thedava/steam-discount-detector
Requires
- guzzlehttp/guzzle: ~6.0
- symfony/css-selector: ^3.2
- symfony/dom-crawler: ~3.2
Requires (Dev)
- phpunit/phpunit: ^4
README
Detects if steam has a discount for a specific app
Installation
Via Composer
composer require thedava/steam-discount-detector
Usage
php detect.php
php detect.php <app file 1> <app file 2> <app file ...>
php steam-discount-detector.phar
php steam-discount-detector.phar <app file 1> <app file 2> <app file ...>
Sample Output
GTA Online Cash Cards
user@computer $ php detect.php apps/gta-cash-cards.php
App: gta-cash-cards.php
=======================
Name: GTA Online Cash Cards
Url: http://store.steampowered.com/app/376850/
Output:
--------
[No Discount] Red Shark: GTA$ 100,000 => 2,49€
[No Discount] Tiger Shark: GTA$ 200,000 => 3,99€
[No Discount] Bull Shark: GTA$ 500,000 => 7,49€
[No Discount] Great White Shark: GTA$ 1,250,000 => 14,99€
[DISCOUNT] Whale Shark: GTA$ 3,500,000 => 25,45€ (Original: 37,99€)
[DISCOUNT] Megalodon Shark: GTA$ 8,000,000 => 44,99€ (Original: 74,99€)
--------