Changing Display Name with API or Command
I'm looking to make a hotkey in order to change my display name through a stream deck. Is there a way to do this with code? I tried looking up if it was possible to change your display name through an API but people's answers confused me.

Essentially I want to build something that when executed changes my name to a name written within the code. That way I can just run the program and my name changes. I can then set a button on my stream deck to run said program. Any ideas?
< >
Zobrazeno 15 z 5 komentářů
there is no API, that will let you do this. this requires authentication, meaning you have to be signed in to execute a post request with your sessionid.

is it possible? yes.
depending on how you want it set up, you make it a userscript or a bot, using one of the various wrappers that signs you in on steam.
not sure if it is steamctl or steampy, node steamcommunity or steam-user, a userscript etc..
all of which can accomplish what you want.
MalikQayum původně napsal:
there is no API, that will let you do this. this requires authentication, meaning you have to be signed in to execute a post request with your sessionid.

is it possible? yes.
depending on how you want it set up, you make it a userscript or a bot, using one of the various wrappers that signs you in on steam.
not sure if it is steamctl or steampy, node steamcommunity or steam-user, a userscript etc..
all of which can accomplish what you want.
It doesn't matter what I use, as long as I can get the end result to be a push of a button (running a file). I figured I would need a login which is fine with me. I'm not trying to make this a public thing. Just something that runs off my own computer.
I work with javascript and I've done some things with python. What would you recommend out of your list? What do you think would work easiest with the stream deck?
MalikQayum původně napsal:
node steamcommunity
all of which can accomplish what you want.
I was looking into this and it looks like there is a name which says can be changed in the properties of the user object but there doesn't appear to be a method to change said name. Am I just missing something?
https://github.com/DoctorMcKay/node-steamcommunity/wiki/CSteamUser
you can execute the request yourself.

const request = require('request'); community.request.post({ headers: {'content-type' : 'application/x-www-form-urlencoded'}, url: '', body: '' }, function(error, response, body){ //console.log(response); console.log(body); });

copy the post request from steam then add it.

all you need node-steamcommunity for is to log into steam.
Naposledy upravil MalikQayum; 11. úno. 2022 v 23.31
MalikQayum původně napsal:
you can execute the request yourself.

const request = require('request'); community.request.post({ headers: {'content-type' : 'application/x-www-form-urlencoded'}, url: '', body: '' }, function(error, response, body){ //console.log(response); console.log(body); });

copy the post request from steam then add it.

all you need node-steamcommunity for is to log into steam.
I've been looking into this for the past couple hours now. Can I pay you to get into a discord call with me to go over how to get this up and running?
< >
Zobrazeno 15 z 5 komentářů
Na stránku: 1530 50

Datum zveřejnění: 11. úno. 2022 v 18.54
Počet příspěvků: 4