Emre Posted August 7 Report Posted August 7 I need to find the classids of all CS2 items. What do you recommend for this? Quote
TheMaster Posted August 8 Report Posted August 8 12 hours ago, Emre said: I need to find the classids of all CS2 items. What do you recommend for this? Hey U can easily do that using the market.csgo api endpoint https://market.csgo.com/api/v2/prices/class_instance/USD.json just send a get request with no auth and u can parse the response as u like Quote
Emre Posted August 9 Author Report Posted August 9 On 8/8/2024 at 2:31 AM, Dr. McKay said: Why? This seems like a bad idea. Then I want to create a csgo item database for myself using these classids. I can get item information from Steam via API. 'https://api.steampowered.com/ISteamEconomy/GetAssetClassInfo/v1/' As a result, I create a database of product information and images. I can be open to different ideas. On 8/8/2024 at 2:18 PM, TheMaster said: Hey U can easily do that using the market.csgo api endpoint https://market.csgo.com/api/v2/prices/class_instance/USD.json just send a get request with no auth and u can parse the response as u like I was getting these classids from csgobackpack but now it is closed. I want to create this data myself instead of getting it from somewhere. Quote
TheMaster Posted August 9 Report Posted August 9 50 minutes ago, Emre said: Then I want to create a csgo item database for myself using these classids. I can get item information from Steam via API. 'https://api.steampowered.com/ISteamEconomy/GetAssetClassInfo/v1/' As a result, I create a database of product information and images. I can be open to different ideas. I was getting these classids from csgobackpack but now it is closed. I want to create this data myself instead of getting it from somewhere. as far as i know these class ids a permanent y dont u just save these and move forward instead request again and again????????????? On 8/8/2024 at 3:35 AM, Emre said: I need to find the classids of all CS2 items. What do you recommend for this? This was ur original question given u have now all the assetids just save the values to the database Quote
Emre Posted August 9 Author Report Posted August 9 9 hours ago, TheMaster said: bildiğim kadarıyla bu sınıf kimlikleri kalıcı mı? bunları kaydedip devam etmek yerine tekrar tekrar istemek yeterli değil mi????????????? Bu, tüm varlık kimliklerine sahip olduğunuz için orijinal sorunuzdu, sadece değerleri veritabanına kaydedin I may not have been able to explain myself because of my broken English. The item classid are always the same, I have some of them anyway, but the problem is that when a new update comes and adds new items, I want to easily access them and add them to my archive. I want to keep my database constantly updated. Quote
Dr. McKay Posted August 10 Report Posted August 10 Using classids yourself is almost never a great idea. You'll run into tons of pairs of items that have identical descriptions but different classids. It's much better to use market_hash_name to uniquely identify a "kind" of item (that's what the Steam market uses, after all). Quote
Recommended Posts
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.