Jump to content
McKay Development

Recommended Posts

Posted

Hi,

 

I want to know if an API/github repo/anything provides a list of all items available for a game.

 

Example: all CSGO items with their weapon, type, rarity, icon url, etc..

 

I would like the complete list to be able to query it.

Eg: Find all covert. Find all mil-spec AK47. Find all Rifle covert, etc.

 

For dota2 it's doable with the API method "GetSchemaURL" and then following the link provided : https://steamcdn-a.akamaihd.net/apps/570/scripts/items/items_game.802aed5ea680938e2c54fd4964713f9b07e48e4b.txt

The same file for CSGO is pretty messy and don't contain items name.

 

Any suggestions?

 

Thanks

Posted

Hi,

 

I want to know if an API/github repo/anything provides a list of all items available for a game.

 

Example: all CSGO items with their weapon, type, rarity, icon url, etc..

 

I would like the complete list to be able to query it.

Eg: Find all covert. Find all mil-spec AK47. Find all Rifle covert, etc.

 

For dota2 it's doable with the API method "GetSchemaURL" and then following the link provided : https://steamcdn-a.akamaihd.net/apps/570/scripts/items/items_game.802aed5ea680938e2c54fd4964713f9b07e48e4b.txt

The same file for CSGO is pretty messy and don't contain items name.

 

Any suggestions?

 

Thanks

 

The items_game file from Dota2 does not provided icon_url, how do you get the image of each Dota2 item?

Posted

That was a mistake, I don't fetch icon image for dota2 either.
 
However I spent the afternoon getting what i need for CSGO.
 

  • With some regex and key/value mapping you can extract weapon / type / exterior from market name.
  • With steamlytics API method "/v1/items" you can get rarity and icon url.
Posted

 

That was a mistake, I don't fetch icon image for dota2 either.

 

However I spent the afternoon getting what i need for CSGO.

 

  • With some regex and key/value mapping you can extract weapon / type / exterior from market name.
  • With steamlytics API method "/v1/items" you can get rarity and icon url.

 

May i borrow your code?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...