Luna Jul 11, 2024 @ 4:42am
Steam API (c++)
I have some totally beginner question about how to use the steam api.
( https://partner.steamgames.com/doc/sdk/api )
I looked into the documentation a bit, and I can't even find the basic functionality.

Let's say I want to log in to my Steam account. I can't even find a login() function. The code I'm writing is in C++. So how do I do that (a simple login assuming my account has the mobile authtenticator turned on) ?
Where can I find some example code to at least start writing some useful code?

Thank you!
Originally posted by eram:
could try any of the admins or contact steam support asking to join via a ticket.
< >
Showing 1-11 of 11 comments
Luna Jul 11, 2024 @ 4:47am 
Originally posted by eram:
https://steamcommunity.com/groups/steamworks/discussions
You must join this group before viewing any discussions. Click here to go to the main group page and click the "Join Group" button if it is available to you.

This group has reached the maximum number of pending join requests. Please contact a moderator of this group to have them respond to these requests.

So I can't even join that.
Last edited by Luna; Jul 11, 2024 @ 4:48am
Luna Jul 11, 2024 @ 4:55am 
Thank you for your help but that group cannot be joined. I have already tried. :(
Do you think I should send some random friend requests to the group admins? (I don't really like sending out random friend requests, sorry.)
The author of this thread has indicated that this post answers the original topic.
eram Jul 11, 2024 @ 4:55am 
could try any of the admins or contact steam support asking to join via a ticket.
Cray Jul 11, 2024 @ 7:59am 
personal curiosity, if i may: what are you writing?
Yujah Jul 11, 2024 @ 8:58am 
Originally posted by Yuna:
Let's say I want to log in to my Steam account. I can't even find a login() function.
Although I'm not a game-developer and have only some passing, interest-based familiarity with the Steamworks API -- you as best as I can tell certainly wouldn't, no.

The Steamworks API is an API to call into from within a game. I.e., from within an application started from Steam (or at least with Steam already running, or at the very, very least by having it start Steam). The only thing that logs into Steam is the Steam client; a/your game uses an existing running copy of Steam.

I believe the API documentation's own "Spacewar" example is pretty good, at the very least on Windows: https://partner.steamgames.com/doc/sdk/api/example
Mountain Months Jul 11, 2024 @ 9:55am 
no reason to even call such a function. please do not try to exploit the steam api for nefarious purposes

:cool_seagull:
Yujah Jul 11, 2024 @ 9:56am 
Originally posted by Mountain Months:
no reason to even call such a function. please do not try to exploit the steam api for nefarious purposes
What?
Ben Lubar Jul 11, 2024 @ 9:56am 
The Steamworks API talks to the Steam Client. If you start a game through the Steam Client, that means you're already logged in.
aiusepsi Jul 11, 2024 @ 6:11pm 
The Steamworks C++ API is for game developers to integrate their game with Steam features. Stuff like programatically logging in Steam is not part of the functionality of the API.

To even download the SDK in order to actually use the API you're supposed to sign up as a Steamworks Partner, sign the NDA, agree to the Steam Distribution Agreement, etc.

Originally posted by Yuna:
Do you think I should send some random friend requests to the group admins? (I don't really like sending out random friend requests, sorry.)
No. To get access to the developer group you sign up to be a Steamworks Partner, which is for people wanting to distribute a game on Steam.
Luna Jul 12, 2024 @ 2:38am 
Thank you for the responses. I got all the answers I needed. I will mark the one that's been the most helpful for me.
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Jul 11, 2024 @ 4:42am
Posts: 11