A simple python script that requires a few manual steps to check or redeem a list of codes.
- Go to https://www.pokemon.com and login
- Go to https://www.pokemon.com/us/pokemon-trainer-club/enter-codes, click the "I'm not a robot" button, and complete the captcha
- Submit any text in the "enter code" field, which finishes the verification and flags your session id as not a robot
- Press F12
- Select the "Application" tab
- Select the "Cookies" tab on the left-hand side under "Storage"
- Select https://www.pokemon.com
- Find the cookie called "main_session_id" and copy its value into the session_id field in settings.ini
- Find the cookie called "csrftoken" and copy its value into the csrf_token field in settings.ini
- Copy your list of codes into codes.txt for checker or redeemCodes.txt for redeemer, one code per line.
- If any characters in codes are missing, put question marks in their place (the script will guess all possibilities).
- Run
python pokemonCodeChecker.py
orpython pokemonCodeRedeemer.py
- You should now see an output in the console of the server response to your codes.