Jump to content


Photo
Question

Getting Market price of Steam Items

node.js node-steamcommunity

  • Please log in to reply
2 replies to this topic

#1 Meshi8

Meshi8

    Newbie

  • Member
  • Pip
  • 9 posts

Posted 21 May 2018 - 11:41 PM

Hi, 

 

I'd like to get the lowest price of a Background/Emoteicon on the market.

 

I already figured out how to do that, but for some reason this will ONLY work for anything but Steam items..

 

Code  https://pastebin.com/ujkfYLLa

 

Also, what's the optimal frequency to use this function? Just so I don't spam it too hard. 

 

 



#2 Meshi8

Meshi8

    Newbie

  • Member
  • Pip
  • 9 posts

Posted 27 May 2018 - 12:44 AM

Anybody?



#3 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 1,787 posts

Posted 27 May 2018 - 01:15 AM

The appid for the item is 753. You should prefix the game's appid to the market_hash_name, e.g.:

community.getMarketItem(753, "629960-:SoraSummerFlowerGaze2:", (err, item) => { });

  • Meshi8 likes this





Also tagged with one or more of these keywords: Question, node.js, node-steamcommunity

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users