Uses Selenium to redeem codes from the Pokémon webpage : pip install seleniumbase
A codes.txt file is needed in the same directory (1 code per line)
Change _username and _password to your own credentials
_username = "USERNAME"
_password = "PASSWORD"
I do not have codes to test, but there's 5% chance this script is working.
Not affiliated with, sponsored or endorsed by, or in any way associated with The Pokemon Company International Inc/Nintendo/Creatures Inc./GAME FREAK Inc.
Use at your own risks.