View Single Post
Old 02-24-2010, 03:09 PM   #1
Lagg
 
Join Date: Feb 2010
Reputation: 83
Posts: 78
Possible New API

While playing with the beta client I took a look at the packets it was sending and noticed it connects to api.steampowered.com. I've been trying to get something out of it and so far have found two types of request:

Code:
POST http://api.steampowered.com/ISteamUserAuth/AuthenticateUser/v0001/
This appears to be the handshake the client performs at startup. The post data looks like:

Code:
format=vdf&steamid=31337337&session_key=%DE%AD%BE%EF&encrypted_loginkey=%CA%FF%EE
Format is the desired response format, so far I've found that vdf, xml, and json are valid. The last 3 are self-explanatory. If the credentials are right the response contains a token that can probably be used for all sorts of cool stuff that requires an account.


The other one looks like:

Code:
GET http://api.steampowered.com/ISteamNews/GetNewsForApp/v0001/?appid=1250&count=3&maxlength=300&format=vdf
format is the same as above, appid is the game's id in the store, count is how many news items you want, and maxlength is the maximum length of the item's content.




I think I speak for every developer when I say that I hope this is finally a real API we can use, and hopefully get Valve to document it. Has anyone else noticed this /or found some more requests?
Lagg is offline  
Reply With Quote