Talk:Steam Web API: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Accidental double click)
No edit summary
Line 37: Line 37:


Anyone got any news on whether or not an API will become available for the steam badges, trading cards and/or the player level/xp? --[[User:Roelof|Roelof]] 07:26, 25 July 2013 (PDT)
Anyone got any news on whether or not an API will become available for the steam badges, trading cards and/or the player level/xp? --[[User:Roelof|Roelof]] 07:26, 25 July 2013 (PDT)
== Steam Notifications API? ==
It would be nice if we could have an API to fetch info on notifications that our own steam account receives like ones that's under the notification icon in steam client such as new tradeoffers/offline messages/gifts/invites/items/comments. I'm aware that these info are pulled from steamcommunity.com/actions/RefreshNotificationArea but to access the link requires you to be logged in and maintain your login session so it's not so convenience if you need to fetch and parse the url with those hops to go through before you could do so. --[[User:Blitzbite|Blitzbite]] 11:00, 21 Nov 2014 (PDT)

Revision as of 11:59, 20 November 2014

Invalid JSON

The API for GetGlobalAchievementPercentagesForApp gives invalid JSON (not detected by JSONLint however). There's an incorrectly encoded UTF-8 character at around character 21,290 of [1] (see [2]). This stops it being parsed by JSON libraries (for example, PHP's json_decode). Not sure what character, will stick to XML results for now unless that's affected too. --Rmasters 12:42, 7 July 2010 (UTC)

These errors are in the XML as well as the JSON for this request so I'll run through them.
Line 1048, GetGlobalAchievementPercentagesForApp (xml) - Malformed XML
		<achievement> 
			<name>	<achievement> 
			<name>TF_SOLDIER_BUFF_TEAMMATES</name> 
			<percent>3.999221</percent> 
		</achievement>
Line 872 - Strange name? Not a constant like the rest (non parser-breaking)
		<achievement> 
			<name>Sapador e punhalada</name> 
			<percent>9.451244</percent> 
		</achievement> 
Line 272 - Empty <name> (more likely a non-printable character)
		<achievement> 
			<name></name> 
			<percent>19.812321</percent> 
		</achievement> 
Also got this error but not sure what to do with it
Entity: line 1050: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xE6 0x4B 0x3C 0x2F
--Rmasters 13:31, 7 July 2010 (UTC)

Steam Badges API?

Anyone got any news on whether or not an API will become available for the steam badges, trading cards and/or the player level/xp? --Roelof 07:26, 25 July 2013 (PDT)

Steam Notifications API?

It would be nice if we could have an API to fetch info on notifications that our own steam account receives like ones that's under the notification icon in steam client such as new tradeoffers/offline messages/gifts/invites/items/comments. I'm aware that these info are pulled from steamcommunity.com/actions/RefreshNotificationArea but to access the link requires you to be logged in and maintain your login session so it's not so convenience if you need to fetch and parse the url with those hops to go through before you could do so. --Blitzbite 11:00, 21 Nov 2014 (PDT)