CurveApi was built to provide simple transparent API for CurveFever. And it's used on CurveApi.cf
- MongoDB up and running
- GO package
- Get github.com/julienschmidt/httprouter
go get github.com/julienschmidt/httprouter
- Get mgo
go get gopkg.in/mgo.v2
- Build
go build
Result:
{
"uid": "793301",
"name": "maciekmm_tk",
"premium": true,
"champion": false,
"picture": "http://curvefever.com/sites/default/files/pictures/picture-793301-1429279990.png",
"ranks": {
"1v1_asia": {
"rank": 700,
"bonus": 500,
...
Result:
{
"uid": "793301",
"name": "maciekmm_tk",
"premium": true,
"champion": false,
"picture": "http://curvefever.com/sites/default/files/pictures/picture-793301-1429279990.png",
"ranks": {
"1v1_asia": {
"rank": 700,
"bonus": 500,
...