Jump to content


Photo
Question

How to call Steam api with Express js



  • Please log in to reply
2 replies to this topic

#1 Lonster_Monster

Lonster_Monster

    Member

  • Member
  • PipPip
  • 25 posts

Posted 15 November 2018 - 03:01 PM

I have a site i am creating in nodejs based on my code in php and wandering how to call steam api json json like

https://steamcommunity.com/profiles/76561198076819824/inventory/json/440/2/

I know how to use Express js but i am unfamiliar with how to Call GET for JSON



#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 1,815 posts

Posted 16 November 2018 - 03:31 AM

People generally use the request module to make HTTP requests.



#3 Lonster_Monster

Lonster_Monster

    Member

  • Member
  • PipPip
  • 25 posts

Posted 19 November 2018 - 11:52 PM

i actually tried using it and when it wouldnt work (i think it was didnt call the request module) and figured out how to do it with the https module and the problem i have been getting is i created a function cand when i call it to be executed it doesnt want to execute







Also tagged with one or more of these keywords: Question

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users