Dmitry Lobov Dmitry Lobov - 1 year ago 216
Node.js Question

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. 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. Is there a some method in Steam API to do this, and if not, are there any convinient web-api's to do this? We use nodejs.

Answer Source

Resolved, just wanted to share.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download