如何获取带有标签

如何获取带有标签

本文介绍了Steam Web API:如何获取带有标签&的游戏ID(570、440、730、753)的所有项目的列表描述的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能获得所有带有其 TAGS 的物品,例如

Is this possible to get all items with their TAGS like

(Rarity,Quality,Hero,Slot,Type,Description)

对于 DOTA2 (570), TF2 (440), CS:GO (730),蒸汽 (753)

for DOTA2(570), TF2(440), CS:GO(730), Steam(753)

我还没有找到任何API来获得针对特定游戏的所有可用物品的响应.如果有人知道如何获取此信息,请回答我的问题.

I haven't found any api to get response with all items available for particular game.If anyone know how to get this please reply to my question.

推荐答案

没有官方API(例如Web API)来获取所有游戏的所有信息. Web API仅支持Dota 2(IEconItem_570)和TF2(IEconItems_440).还有一个CS:GO(IEconItem_730)的界面,但这是基本界面,不包含武器皮肤.

There's no official API (e.g. the Web API) to get all information for all games. Web API only supports Dota 2 (IEconItem_570) and TF2 (IEconItems_440). There’s also an interface for CS:GO (IEconItem_730), but it's rudimentary and doesn't include weapon skins.

由于缺少官方API,Steam冷凝器不包含执行此操作的方法.

Because of that lack of official APIs Steam Condenser doesn't include a way to do this.

有一种方法可以模仿Steam自己的Web界面和使用JSON界面的移动应用,例如 http://steamcommunity.com/id/koraktor/inventory/json/730/2/(其中730是应用程序ID,2是商品类型). Steam使用2以外的其他类型:367.数据结构几乎是不言自明的.可以通过将GET参数l设置为语言名称来更改语言,例如englishgermanfrench.

There's a way to mimic Steam's own web interface and mobile apps which use a JSON interface, e.g. http://steamcommunity.com/id/koraktor/inventory/json/730/2/ (where 730 is the app ID and 2 is the item type). Steam use other types than 2: 3, 6 and 7. The data structure is almost self-explanatory.The language can be changed by setting the GET parameter l to the name of the language, e.g. english, german or french .

这篇关于Steam Web API:如何获取带有标签&的游戏ID(570、440、730、753)的所有项目的列表描述的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 22:40