PTCGO Check API
A simple proxy API to check PTCGO codes
Pokemon.com has a website that allows you to check the codes from Pokemon code cards. They use a simple private API that takes in the code and returns the set of the code. However, it's not easy to use the API from your own service. They use cookies for authentication, which complicates the requests. It also has CORS headers that only allow requests from pokemon.com. While I can't resolve the cookie issue, I can remove the CORS restriction, so any website can call the API with the necessary session token.
This is a simple proxy API built with Node.js and Express. It take in the code and a session token as query parameters and returns the same result as pokemon.com. You can visit the app to see a simple front end UI to test the API.