Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get a list of all CSGO items including skin name, quality and rarity?

I'm not looking for details of a specific player inventory, but a list of all items for CSGO. What I want is details of the weapons in particular, but including skin name information and rarity.

To make it easier to explain this site has the information I need, except rarity.

http://csgo.steamanalyst.com/list.php

By using the following api url I can get weapon model names but not skin names (ie. "Zirka") http://api.steampowered.com/IEconItems_730/GetSchema/v0002/?key={YOUR_API_KEY}

like image 792
iguanaman Avatar asked Dec 19 '14 05:12

iguanaman


People also ask

How to get cheap CSGO skins and cases?

It’s one of the best ways to earn skins that very valuable for a low price. You can get plenty of CSGO skin case options by purchasing them from the Steam community market, third-party trading site, or you can try your luck on CSGO gambling sites. Also, you can get plenty of low-value skins and cases on offer walls.

How many skin rarity grades are there in CSGO?

There are currently eight rarity grades in CSGO. Each of these rarity grades has its general price range as well as some well-known skins of that rarity grade. In the context of CSGO skins rarity, usually the rarer the skin the more expensive it gets. Consumer Grade (White) – most common and widespread skins.

Where to find the wear quality of CSGO skins?

Some examples of these marketplaces include CS.money and Skinport.com Each CS:GO skin has a wear quality ranging from Factory New to Battle-Scarred. The wear qualities are Factory New, Minimal Wear, Field-Tested, Well-Worn and Battle-Scarred. A decimal range from 0.00 to 1.00 determines the wear quality of the skin.

How to get free CSGO skins on Steam?

Get FREE CSGO Skins For Existing Users – Updated June 2021 1. Play the game for weekly drops. Play the game is the easiest and safe way to get free CSGO skins. Each week, you have... 2. Get from Steam group. Do you know there is an open group on Steam called “ Donation Box ”? It’s a wonderful ...


1 Answers

I haven't found anything regarding skins in Steam Web Api.

Lists of all skins as well as rarity and corresponding weapons are in "paint_kits", "paint_kits_rarity" and "item_sets" sections of /csgo/scripts/items/items_game.txt file.

As for their correct names, those are in /csgo/resource/csgo_YOUR_LANGUAGE.txt. Looking like that

"PaintKit_so_red_Tag"                       "Candy Apple"

Won't be hard to make php or python script to get all of it and put it in a database for ease of use.

For skins images you could get weapon and skin name from the above, and do a foreach curl loop to get content from div with "market_listing_largeimage" class using for example simple_html_dom.php, from url http://steamcommunity.com/market/listings/730/{ITEM_NAME}%20%7C%20{SKIN_NAME}%20%28{USAGE_THINGY Ex. Well-Worn}%29

Just remember to replace all spaces going to the url with %20 but that depends on what you use to get the page. You could do a foreach on the usage thingy since some weapons don't have some variants on the market, curl could return wrong page. Nothing that a simple if+foreach couldn't fix.

Also do it only after skins update if overused you could get blocked from valve website for spamming. You could also use SteamWebApi and game news to check for new versions and update it automatically then. Just use your imagination and google.

like image 103
SEJBR Avatar answered Sep 19 '22 14:09

SEJBR