An automated tool for collecting OWL tokens on multiple accounts.
- Login to OverwatchLeague.com
- Go to
https://account.battle.net/api/user
and copy the value ofaccountId
.
Install the dependencies:
composer install
Edit your crontab:
crontab -e
# Add the following: */1 * * * * php /app/owl-tkn.php >> /var/log/cron.log
Copy .env.example
to .env
and edit:
OWL_ACCOUNTS=000000000,100000000
Build:
docker build -t azureflow/owl-tkn .
Run:
docker-compose up --build -d
Logs:
docker logs owl_tkn -f
Testing:
docker exec -it owl_tkn /bin/sh
Setup flyctl
and login.
flyctl create --name owl-tkn --no-deploy
flyctl secrets set OWL_ACCOUNTS=000000000,100000000
fly volumes create data --size 1
flyctl deploy
# flyctl logs --app owl-tkn
# flyctl ssh console
# printenv OWL_ACCOUNTS
Yes, absolutely. However, I've been running this for years without a problem. As the license states this program is provided "without warranty" and should be used at your own risk.
Because I hate myself.