steam-web-api

Steam market currency and XML format

五迷三道 提交于 2019-11-30 05:21:50
Im trying to get an item page on market in certain currency, tried to add Accept-Language: ru-RU\r\n and Accept-Language: ru-RU, ru\r\n and Accept-Language: ru, ru-RU;q=0.8\r\n to header but steam ignores it and always gives a page with mixed rubles, euros and dollars. Also, how can i get a page in xml format? ?format=xml and ?xml=1 dont work, tried with application/xml and */* Sellers will always list items for sale in the native currency of their Steam Wallet, and buyers will always see Community Market prices expressed in the native currency of their Steam Wallet. For items listed for sale

Steam web API getting CS:GO inventory

主宰稳场 提交于 2019-11-30 00:54:01
Alright, so I have been looking for this all over the internet, and what I have found out is that when you want to get someones steam inventory you use this: http://api.steampowered.com/IEconItems_{appid}/GetPlayerItems/v0001/?key={apikey}&steamid={steamid}&format=json But the problem is that when I do that for CS:GO (appid: 730 ), I just get an empty response back, even though the user has items in their inventory. if you want to get the json just use one of the following links: general steam inventory: ( 1: games, 3: coupons, 6: trading cards, 7: rewards ) http://steamcommunity.com/id/

Steam API Access-Control-Allow-Origin Issue

六眼飞鱼酱① 提交于 2019-11-29 15:54:43
A bit new to web programming and a bit confused on this. I have a basic express node.js webserver serving up a web site. I want to hand a gameid to a function and have it grab achievement information from steam using their web api that should be supported using the following REST api call: https://developer.valvesoftware.com/wiki/Steam_Web_API#GetGlobalAchievementPercentagesForApp_.28v0002.29 I have a script file being served up I'm trying to do a request in a client side file like such. function GetSteamGameAchievements(appid) { var request = new XMLHttpRequest(); request.addEventListener(

Steam web API getting CS:GO inventory

和自甴很熟 提交于 2019-11-28 22:32:31
问题 Alright, so I have been looking for this all over the internet, and what I have found out is that when you want to get someones steam inventory you use this: http://api.steampowered.com/IEconItems_{appid}/GetPlayerItems/v0001/?key={apikey}&steamid={steamid}&format=json But the problem is that when I do that for CS:GO (appid: 730 ), I just get an empty response back, even though the user has items in their inventory. 回答1: if you want to get the json just use one of the following links: general

Incorrect Integer (2147483647) is inserted into MySQL?

女生的网名这么多〃 提交于 2019-11-26 01:47:35
问题 Alright, so I\'ve been toying around with the Steam Web API, I have one of the values stored in a variable called $steam64 . When I use this code snipper to INSERT it into a mysql database it insert a completley different integer than what is stored in the variable. $sql_query = \"INSERT INTO users_info (steam64) VALUES (\'$steam64\')\"; var_dump($steam64); returns the real int, so does echoing it. Not too sure what is going on here, any help is appreciated. 回答1: It's probably because you are

Incorrect Integer (2147483647) is inserted into MySQL?

时光怂恿深爱的人放手 提交于 2019-11-25 22:31:36
Alright, so I've been toying around with the Steam Web API, I have one of the values stored in a variable called $steam64 . When I use this code snipper to INSERT it into a mysql database it insert a completley different integer than what is stored in the variable. $sql_query = "INSERT INTO users_info (steam64) VALUES ('$steam64')"; var_dump($steam64); returns the real int, so does echoing it. Not too sure what is going on here, any help is appreciated. Mike Purcell It's probably because you are wrapping the query in double quotes, but the variable is in single quotes, so it's being treated as