A simple API wrapper for the undocumented Codingame API
Make sure you have the dev dependencies installed, and run npm run build
. Terser should minify the source file and the output should be in dist/index.js
.
npm i codingame-api-node
const cg = require('codingame-api-node')
const api = new cg()
await api.login({Email:'email', Password: 'password'})
clash = await api.CreateClash()