【文件属性】:
文件名称:CurveAPI:为流行游戏提供透明的API
文件大小:6KB
文件格式:ZIP
更新时间:2021-06-08 11:46:53
Go
CurveApi.cf
CurveApi 旨在为提供简单透明的 API。 它用于
要求
MongoDB 启动并运行
GO包
安装
获取 github.com/julienschmidt/httprouter
去 github.com/julienschmidt/httprouter
获取管理
去获取 gopkg.in/mgo.v2
建造
去建造
用法
通过 id 获取玩家资料
结果:
{
"uid": "793301",
"name": "maciekmm_tk",
"premium": true,
"champion": false,
"picture": "http://curvefever.com/sites/default/files/pictures/picture-793301-1429279990.png",
"ranks": {
【文件预览】:
CurveAPI-master
----main.go(2KB)
----models()
--------profile.go(1KB)
--------rank.go(258B)
----database()
--------database.go(673B)
----LICENSE(1KB)
----README.md(1KB)
----hooks()
--------curvefever.go(4KB)
----.gitignore(8B)