I'm making a website that's hosted on GitHub pages that uses the Steam Wishlist API to get a Steam users wishlist from this address:
https://store.steampowered.com/wishlist/id/{user}/wishlistdata/?p=0
Using the code below to fetch the data:
fetch(url, {mode:'no-cors'})
.then(response => JSON.stringify(response))
.then(data => console.log(data))
.catch(error => console.log(error));
However, the return from this code (the JSON.stringify() is there for testing) is just:
{}
I've done a fetch on this URL before in python, having done a proof of concept of what I'm trying to do, so I know it's not the address. Any help would be greatly appreciated.