Jump to content
McKay Development

Login User Avatar


Estados

Recommended Posts

I found out that the easiest way, at least for me, is getting it from Steam API. 

I just get the ID from 

client.steamID.getSteamID64()

and then fetch the api page like this

https://api.steampowered.com/ISteamUser/GetPlayerSummaries/v2/?key=${process.env.STEAMAPIKEY}&steamids=${steamID64}

 

Link to comment
Share on other sites

3 hours ago, TheM said:

I found out that the easiest way, at least for me, is getting it from Steam API. 

I just get the ID from 

client.steamID.getSteamID64()

and then fetch the api page like this

https://api.steampowered.com/ISteamUser/GetPlayerSummaries/v2/?key=${process.env.STEAMAPIKEY}&steamids=${steamID64}

 

I already know how to get it via API. The getPersonas function is easier than getting it from the api anyway. I was wondering if there is a simple method for a direct profile photo.

Link to comment
Share on other sites

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...