thedava / steam-discount-detector
此包已被弃用且不再维护。未建议替代包。
此包的最新版本(1.3)没有提供许可证信息。
检测Steam是否对特定应用有折扣
1.3
2017-03-27 13:24 UTC
Requires
- guzzlehttp/guzzle: ~6.0
- symfony/css-selector: ^3.2
- symfony/dom-crawler: ~3.2
Requires (Dev)
- phpunit/phpunit: ^4
README
检测Steam是否对特定应用有折扣
安装
通过Composer
composer require thedava/steam-discount-detector
用法
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 ...>
示例输出
GTA Online现金卡
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€)
--------