apisteamsteam-web-apisteambot

Steam API CSGo Get All Item Categories


I'm trying to find API method for Steam CSGO, which I can use to retreive all:

Any advice would be appreciated.


Solution

  • to retrieve the "Phase" of a item you would need to retrieve paintindex and check what "phase" said paintindex is.

    to get the wear value, exterior etc you can simply use the "globaloffensive" npm module and then call the "inspectItem" function with the inspect_url for the item you want to get data for.

    csgo.inspectItem("URL",function(item) {
        let paintindex = item.paintindex; // ITEMS paintindex, used to identify phase...
        let wear = item.paintwear; // "FLOAT VALUE".
        let quality = item.quality;
        //...
    });
    

    If you need a database for the "paintindex" you could check metjm.net.

    Regards