Jump to content
McKay Development

Recommended Posts

Posted (edited)

Hey.

 

I found a method to get steamApps of account. Would be great to see that in CSteamUser methods  :). Cookies must be provided.


const xml = await new Promise((resolve_, reject_) => {
  this._community.httpRequestGet(
    `https://steamcommunity.com/profiles/[U:1:69762859]/games?xml=1`,
    (err: Error, result: any) => {
      if(err) reject_(err);
      resolve_(result.body);
    }
  );
});

//Sometimes iam getting ":0:" id part by SteamID.getSteam3RenderedID() and this method isn't work. 
//So i just replaced it with ":1:" and it works well at least on my tests.   
Edited by shustrik35

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...