简体   繁体   English

Steam API-如何解码位置码

[英]Steam API - how to decode location codes

Good day! 美好的一天! Users of our site signups by steam OpenId, and when app gets their person info in JSON. 我们网站的用户通过Steam OpenId进行注册,以及应用在JSON中获取其个人信息时。 An information about user location is provided as set of ISO(?) codes, like this: "loccountrycode": "RU", "locstatecode": "47", "loccityid": 41795. Steam API is wery badly documented, so i can't find any method to decode this to a string. 有关用户位置的信息以一组ISO(?)代码的形式提供,例如:“ loccountrycode”:“ RU”,“ locstatecode”:“ 47”,“ loccityid”:41795。Steam API的文档很差,所以我找不到任何将其解码为字符串的方法。 Is there a some method in Steam API to do this, and if not, are there any convinient web-api's to do this? Steam API中是否有某种方法可以做到这一点,如果没有,是否有任何方便的Web API可以做到这一点? We use nodejs. 我们使用nodejs。 Thanks! 谢谢!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM