Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
get the player items through the getplayeritems call then get the defindex and make a call to the getschema then you want to get the prices and you would need to use the getassetsclassinfo call.. so thats 1 way of doing it..
but how i would do it is just get the json from the 730 inventory from the player then use the getassetclassinfo, now do not ask me to write u the code this should be sufficient information to get u to where u want to go.
Ok sorry for my late reply i went to bed after about 2 hours of messing around. Anyway what i found was these 2 links the first one i have added my own data into it so if you want to view it add your own steam API key
http://api.steampowered.com/ISteamEconomy/GetAssetClassInfo/v0001/?key=AAAAA&appid=730&class_count=1&classid0=1131459905
and i can get the class id for that first link using this link i had already in my code.
http://api.steampowered.com/IEconItems_730/GetPlayerItems/v0001/?key=AAAAAA&steamid=AAAAAAA
The only problem i have now is im not to sure how i can make a loop to get all the IDs for the GetPlayerItems link and then replace it with the GetAssetClassInfo link and im also not sure how to use the image URLs the first link gives me
For example i get this.
"icon_url_large": "-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXQ9Q1LO5kNoBhSQl-fSPSoxc7HWlJ6GlJopbOpPQJy7P_JYzpHoojkwNXak_GmYuzTl2gIuJMn372Y9o2hjgXl-ENqZjr3cISdc1I-aV7Oug_ps8v273w",
how am i ment to get a image link with a bunch of random letters and numbers?
Anyway after i while i ended up finding Node Steam but i have never ever used JS script in my HTML befor let alone in PHP so i got stuck there and gave up. So i am still in need of some help here.
Sorry for my bad english.
not so much pseudo but as i havent look at the json u are looking at but i guess if modified this example it should work.
Ok so i have this now but it gives me only parts of the name as in the first letter of each any ideas?
also i do not know why you do not get the full name probably because i have not bothered testing it and i probably wont, but u got this far so a bit more testing for urself with some trial and error and i am sure u gonna get it, so GL :P