Andrei Elvis Posted April 28, 2018 Report Share Posted April 28, 2018 (edited) Hello, Can someone help me with the url from where I can get the skin image just by knowing the skin name.So in node.js is like request("link, link / skin name", function(x,y,z) { if(y.statusCode == 200) { skinImage = blabla; } });Hope someone can help me ! Edited April 28, 2018 by Andrei Elvis Quote Link to comment Share on other sites More sharing options...
Eradicate Posted April 29, 2018 Report Share Posted April 29, 2018 (edited) Hi Echo,I don't think it's possible to extract a image by the market name (without scraping the market), I do know you used to be able to get it using the classid of an item;I'm not sure if it still is a valid way of doing this but I remember I used to be using, https://steamcommunity-a.akamaihd.net/economy/image/class/730/<classid>/150fx125f Edited April 29, 2018 by Eradicate Quote Link to comment Share on other sites More sharing options...
Andrei Elvis Posted April 30, 2018 Author Report Share Posted April 30, 2018 Hi Echo, I don't think it's possible to extract a image by the market name (without scraping the market), I do know you used to be able to get it using the classid of an item;I'm not sure if it still is a valid way of doing this but I remember I used to be using, https://steamcommunity-a.akamaihd.net/economy/image/class/730/<classid>/150fx125f It is useless with classid... as I have an array with the skin names , but thanks for reply.I had the script to get the image of a skin name, it was requesting the steam market with the skin name given and it were getting the skin image.But I do not have the code and I do not have any idea how to make it right now :'( Quote Link to comment Share on other sites More sharing options...
Eradicate Posted April 30, 2018 Report Share Posted April 30, 2018 It is useless with classid... as I have an array with the skin names , but thanks for reply.I had the script to get the image of a skin name, it was requesting the steam market with the skin name given and it were getting the skin image.But I do not have the code and I do not have any idea how to make it right now :'(Well, it'd be intresting to see how that would work but I do know an API that supports images by name; have a look at this API and then the v1/items, you can loop over the objects check if the market_hash_name's match, if so return the image (icon_url). I don't think they allow infinite requests so you would have to cache/store the json somewhere. http://csgo.steamlytics.xyz/api Quote Link to comment Share on other sites More sharing options...
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.