RunKit + npm: steam-market-fetcher

node v18.11.0
endpointsharetweet
const SteamMarketFetcher = require("steam-market-fetcher"); const Fetcher = new SteamMarketFetcher({ currency: 'CAD', format: 'json' }); (async () => { try { const image = await Fetcher.getItemImage({ market_hash_name: 'Mann Co. Supply Crate Key', appid: 440 }); console.log(image); } catch (error) { console.error('An error occurred: ', error); } })();
Created from: https://npm.runkit.com/steam-market-fetcher
Loading…