vlk_pro Posted March 7 Report Posted March 7 Hello, I'm using your node-steam-session + node-steamcommunity + node-steam-user awesome work, thank you very much. I have a question how can I add any game from store.steampowered.com to my CART and later buy this game using node ? Is it possible ? Do you have any idea how to solve it ? I don't want to scrap whole html ... Quote
4049_1572836826 Posted March 7 Report Posted March 7 U can set cookie jar for reqest or extract from steamstore and GET request on https://store.steampowered.com/api/addtocart/ And another steps u must reverse yourself cuz its against TOS I think This code up add games to cart in bulk, and from now on they will be visible between devices. https://store.steampowered.com/news/collection/steam/?emclan=103582791457287600&emgid=4149575031731807335 News: One cart across all devices Enjoy query params for api get request : packageids with numbers, coma divided Quote
vlk_pro Posted March 8 Author Report Posted March 8 21 hours ago, 4049_1572836826 said: U can set cookie jar for reqest or extract from steamstore and GET request on https://store.steampowered.com/api/addtocart/ And another steps u must reverse yourself cuz its against TOS I think This code up add games to cart in bulk, and from now on they will be visible between devices. https://store.steampowered.com/news/collection/steam/?emclan=103582791457287600&emgid=4149575031731807335 News: One cart across all devices Enjoy query params for api get request : packageids with numbers, coma divided sorry can you explain it with more details ? i think steam changed cart and this url is for old one ? https://store.steampowered.com/api/addtocart/ Quote
4049_1572836826 Posted March 27 Report Posted March 27 1st GET reuquest : https://store.steampowered.com/api/addtocart/?packageids=281301,132236,306952,316818,74002,63210 2nd GET request : https://store.steampowered.com/cart Ta Da u have cart with this games on all sessions. I'll leave the checkout up to you. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.