Talk:Steam Web API

From Valve Developer Community
Revision as of 07:27, 25 July 2013 by Roelof (talk | contribs) (Accidental double click)
Jump to: navigation, search

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
			<name>	<achievement> 
Line 872 - Strange name? Not a constant like the rest (non parser-breaking)
			<name>Sapador e punhalada</name> 
Line 272 - Empty <name> (more likely a non-printable character)
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)