Skip to content

AidanHarveyNelson/pokemon_tcg_redeem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About the Project

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.

Prerequisites

Download Script to local PC

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.

Setting up Environment

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 

Running this Project

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.

Running using a File

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

Running use Codes

pipenv run main.py <username> <password> -c 276-BLW2-ZVD-ZD6 2BH-L9RG-TGV-2G6 277-42NM-Y92-MCJ

File Format

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

About

A Script to automatically redeem Pokemon TCG Live Codes

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages