Jump to content


Photo

Opening boosters?

node.js node-steam-tradeoffer-manager

Best Answer Dr. McKay , 25 March 2018 - 06:42 PM

There is not, presently. You'd need to make the HTTP request that the browser makes to open one.

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 QuestionRealQuick1

QuestionRealQuick1

    Member

  • Member
  • PipPip
  • 28 posts

Posted 25 March 2018 - 01:44 PM

Is there anyway to open a booster using this script?

 

and if not any idea how i would go about doing that ? 



#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 1,751 posts

Posted 25 March 2018 - 06:42 PM   Best Answer

There is not, presently. You'd need to make the HTTP request that the browser makes to open one.



#3 QuestionRealQuick1

QuestionRealQuick1

    Member

  • Member
  • PipPip
  • 28 posts

Posted 05 April 2018 - 08:52 AM

Hello again ^^

Just figured i would update this for others that are looking to do the same thing

 

 

You need to send a ajax request to the following url

/ajaxunpackbooster/

 

parms should be:

 
sessionid: given on websession event store it (not sure if theres another way to get it ^^?)
appid: item.market_fee_app
communityitemid: item.assetid
 

Easy as pie ^^ have abit of a delay so you don't get rate limited

hope that helps anybody

would be lovely to have a item.unpack()

remember to pass the cookie as a header :)


Edited by QuestionRealQuick1, 10 April 2018 - 08:17 AM.

  • Vanilla likes this





Also tagged with one or more of these keywords: node.js, node-steam-tradeoffer-manager

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users