I don't know what's going on, this use case isn't exactly supported by us (we don't offer a public API currently, we may in the future).
I assume the script you linked is scraping the site. It must be a bug with their implementation as I do see all games showing up on your profile page.
I haven't done anything specific to prevent site scraping either, we do have some rate limits set but if you are just trying to extract data from one profile page you wouldn't be hitting those. So I would recommend contacting the author of the script.