Steam 市场 API? [英] Steam Market API?

查看:73
本文介绍了Steam 市场 API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道有一个 Steam API 允许我使用来自 Steam 社区的数据.
我的问题是,有人知道是否有 Steam 市场 API?
例如,我想获取 Steam 市场中某件物品的当前价格.

I know that there's a Steam API allowing me to use data from Steam Community.
My question is, does anyone know if there's a Steam Market API?
For example, I want to get the current price of an item in the Steam Market.

我已经用谷歌搜索过,但还没有找到任何东西.
我很高兴能得到你的帮助.

I've googled and haven't found anything yet.
I'd be glad to have your help.

推荐答案

我找不到任何文档,但我使用:

I could not find any documentation, but I use:

http://steamcommunity.com/market/priceoverview/?appid=730&currency=3&market_hash_name=StatTrak%E2%84%A2 M4A1-S | Hyper Beast (Minimal Wear)

返回一个 JSON.在撰写本文时,它返回:

to return a JSON. At time of writing, it returns:

{"success":true,"lowest_price":"261,35€ ","volume":"11","median_price":"269,52€ "}

您可以更改货币.1 是美元,3 是欧元,但可能还有其他.

You can change the currency. 1 is USD, 3 is euro but there are probably others.

这篇关于Steam 市场 API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆