Jump to content
McKay Development

vshezhuoji

Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by vshezhuoji

  1. I purposefully didn't mention the WebAPIs because they aren't really "Steam items". They're "Valve items", and third-party games don't need to follow any of the same standards. However, for Valve games, the "id" in the WebAPI is the item's asset ID, and "original_id" is the item's asset ID when it was originally created. If it's identical to the item's "id", that means that the item was never traded or modified. Quality (generally) determines the color of the item's name, and (sometimes) a prefix to the item's name (for example, StatTrak, ★, etc). Quality has nothing to do with wear.

     

    For CS:GO, you can't really get much useful information out of the WebAPI except an item's raw wear value (frequently, incorrectly, and ignorantly referred to as its "float value") and perhaps original ID.

    Thanks for your help.

    I never consider about the issue of steam items or valve items .

    At first I  dealing with dota2 items.By getting many inventory json results and get items information by GetAssetClassInfo (eventually I made my website identifying items by market_hash_names).After that I find that if I use WebAPIs to make clear defindex+quality=market_hash_name.The volume of data can be lower as there are less description .But as you say those apps' items are complex.Using WebAPI to get items only limited in several apps(dota2 csgo tf2 steam?).

    The problem is if I want to trade .I need ids and identifing every items.Both inventory json and this IEconItems(limited apps) can provide.

    The question is I don't know how to get description only by IEconItems. like what are"attributes" means .And there are no classids,does it means IEconItems can't describe items as inventory json do?. Also ,if I want float value, IEconItems is necessary ,is there any official or unofficial documents about the result?

  2. Hello Dr.McKay!

    I think currently I am using the same way to get all items in app or display users' inventory on the website.However I find that some other way to identify steam items.

        1.using http://api.steampowered.com/IEconItems_<appid>/GetPlayerItems/v1?key=<apikey>&language=&SteamID=  to get one user's items .

        2.defindex combine with quality can identify a item as market_hash_name do.(same defindex items have same image // e.g. http://cdn.dota2lounge.com/img/items/6627.jpg and this 6627   is a  defindex.

     

    As I notice this result is much more light than inventory url call.And seemed it can get csgo items float rate thing.But still ,I don't know much details about the result.

    Can you tell me some information?

     

    {
                    "id": 235841514,
                    "original_id": 230806844,   //some are same as "id"
                    "defindex": 36,//same image
                    "level": 1,
                    "quality": 4,//as tier of wear or something
                    "inventory": 12,
                    "quantity": 1,
                    "rarity": 5,
                    "attributes": [
                        {
                            "defindex": 6,
                            "value": 1132527616,
                            "float_value": 258
                        },
                        {
                            "defindex": 7,
                            "value": 1144904910,
                            "float_value": 759.4500732421875
                        },
                        {
                            "defindex": 8,
                            "value": 1045680265,
                            "float_value": 0.20685018599033356
                        },
                        {
                            "defindex": 147,
                            "value": "models/weapons/stattrack.mdl"
                        },
                        {
                            "defindex": 39,
                            "value": 0,
                            "float_value": 0.56000000238418579
                        },
                        {
                            "defindex": 40,
                            "value": 0,
                            "float_value": 0.05000000074505806
                        },
                        {
                            "defindex": 145,
                            "value": "models/weapons/w_pist_p250_mag.mdl"
                        },
                        {
                            "defindex": 199,
                            "value": 26,
                            "float_value": 3.6433760072445244e-044
                        }
                    ]
                    
                },

×
×
  • Create New...