https://github.com/kmou424/resonance-resodata
雷索纳斯 商品数据 API
https://github.com/kmou424/resonance-resodata
closed-source free-for-developers microservice resonance restful-api
Last synced: about 1 month ago
JSON representation
雷索纳斯 商品数据 API
- Host: GitHub
- URL: https://github.com/kmou424/resonance-resodata
- Owner: kmou424
- Created: 2024-03-07T09:11:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-10T16:49:47.000Z (almost 2 years ago)
- Last Synced: 2024-09-11T14:36:53.147Z (almost 2 years ago)
- Topics: closed-source, free-for-developers, microservice, resonance, restful-api
- Language: Python
- Homepage:
- Size: 313 KB
- Stars: 21
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.API.md
Awesome Lists containing this project
README
## GET /api/fetch/goods_info
此接口为通用数据获取接口。
##### 请求参数
| 参数名 | 类型 | 位置 | 描述 | 是否必需 |
| ------- | ------ | ----- | -------------------------------------- | -------- |
| station | string | query | 筛选条件 站点名(中文,如“7号自由港”) | 否 |
| good | string | query | 筛选条件 商品名(中文,如“发动机”) | 否 |
| uuid | string | query | 鉴权 UUID | 是 |
##### 返回参数
| 参数名 | 类型 | 描述 |
| ------------------ | ------ | ------------------------------------------ |
| [object] | array | 商品信息数组 |
| > name | string | 商品名(中文,如“发动机”) |
| > station | string | 站点名(中文,如“7号自由港”) |
| > stock | number | 基础货量 |
| > type | string | 交易类型(buy为站点收购,sell为站点出售) |
| > base_price | number | 基础价格 |
| > price | number | 当前价格 |
| > next_trend | number | 下次价格变化趋势(> 0 则上涨,< 0 则下降) |
| > update_time | string | 更新时间(UTC +0; yyyy-MM-dd HH:mm:ss) |
| > update_timestamp | number | 更新时间(UTC +0; Unix时间戳) |