Booster-Calculator or Steam-Booster-Profit-Calculator (SBPF) calculates the most profitable booster depending on the games the user owns. It provides information on how much a booster-pack will cost in gems or the chosen currency. It also provides information how much a single card will cost for selling and buying (lowest price, average price, highest price).
Notice: You can´t run this booster-calculator currently without the needed datasets. I will update this respository as soon as I can provide all the needed booster-data. I´m planning to provide as less data as possible so this booster-calculator will be as fast as possible.
-
Get your Steam-WebAPI Token here and insert it into getBoosterData.php
at$steamapi_key = 'insertyourapikeyhere';
-
Set your login-credentials for your database db_config.php (to be safe place this file outside of your webfolder and change the
include_once 'db_config.php';
in db_connect.php so it matches your chosen path) -
Obviously you need a webserver with php-module and a databse (MySQL, MariaDB, ...)
Help us: If you want to help, just provide us your dataset of gem-amounts per Booster-Pack. You can easily obtain these informations. It will only take you one minute.
Just follow these steps:
- Login to Steam with your User-Account
- Go to Boostercreator
- Open your browser-console Chrome: CTRL+SHIFT+J Firefox: CTRL+SHIFT+K
- Insert the following code and press enter
- Post your output on paste.ee or somewhere else
- Comment your URL (use Issues-Section to comment - if possible use existing similiar "issue")
var gem_amounts = $J('#footer + script').text(); var sub1 = gem_amounts.substring(gem_amounts.indexOf('[{')); var sub2 = sub1.substring(0, sub1.indexOf('],')) + "]"; $J('body').append("<textarea style='height: 200px; width: 90%; position: absolute; z-index: 9000; background-color: black; color: green; top:0; overflow:auto;'>"+sub2+"</textarea>");