If you are sick of having to enter the Pokemon TCG codes one by one or scanning the QR codes one by one this tool is for you. By providing it a list of codes or a file containing the codes it will automatically login to the Pokemon TCG website and redeem the codes for your account.
- Python v3.8
- Pipenv https://pypi.org/project/pipenv/
- Chrome Browser
Go to the following page and download the latest release https://github.com/AidanHarveyNelson/pokemon_tcg_redeem/releases, either zip or tar.gz. Unzip the file to a new folder then continue following the next steps of the README.
Assuming the above prerequisites have been installed already the following command will build a virtual environment. Run the below command from within this folder.
pipenv install
Currently this script supports either passing the codes in the command line with the -c
/--codes
or with the -f
/--file
parameters. I have included an example of both these commands below.
Please specify the relative or absolute path to the file that you would like to use.
pipenv run main.py <username> <password> -f codes.txt
pipenv run main.py <username> <password> -c 276-BLW2-ZVD-ZD6 2BH-L9RG-TGV-2G6 277-42NM-Y92-MCJ
If using the File argument then save a txt file with the pokemon codes in the following structure. I have included a codes.txt
file to provide an example of how the codes should be stored in the file.
276-BLW2-ZVD-ZD6
277-42NM-Y92-MCJ
2BH-L9RG-TGV-2G6