【文件属性】:
文件名称:go-steam-market:通过API获取CSGO市场上商品的价格
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-10 23:31:34
Go
CSGO Steam市场定价API包装器
这只是包装了Steam Market Pricing API,以实现从Go向市场执行json请求
用法
首先获取此软件包:
go get github.com/Gacnt/go-steam-market
要使用此功能,有一个简单的功能:
package main
import (
"fmt"
"github.com/Gacnt/go-steam-market"
)
func main() {
jsonResp := gosm.GetSinglePrice(false, "M4A1-S", "Master Piece", gosm.FT, "G")
fmt.Println(jsonResp)
// Or
jsonResp, _ := gosm.Get
【文件预览】:
go-steam-market-master
----go-steam-market.go(6KB)
----LICENSE(1KB)
----README.md(1KB)