mtg-deckcycle
Ruby script used to login to Tappedout.net and deckcycle a Magic the Gathering deck every three hours between the hours of 9 am and 10 pm.
Requirements
- Firefox web browser
- geckodriver loaded in path: https://github.com/mozilla/geckodriver/releases
- Ruby
Installation
2023 macOS 13.4
brew install rbenv
rbenv init
rbenv install –list
rbenv install 3.2.2
rbenv global 3.2.2
brew install geckodriver
brew install --cask firefox
rm Gemfile.lock
rbenv exec gem install bundler
rbenv exec bundle install
Usage
Usage: deckcycle.rb [options]
-n, --name [NAME] Name of deck to deckcycle
-u, --username [USERNAME] Tappedout.net username
-p, --password [PASSWORD] Tappedout.net password
Example: rbenv exec ruby deckcycle.rb -n '<deckname>' -u '<username>' -p '<password>'