quick-clash
v1.0.4
Published
Create private Clash of Code games or fetch public ones from CodinGame
Downloads
15
Maintainers
Readme
quick-clash
Create and launch private clash of code games or get active public games
Example
const clash = require('quick-clash')
clash.createClashClient("[email protected]", "MyPassword").then( client => {
client.createPrivateGame().then(game=> {
console.log(game)
console.log(clash.getClashLinkFromHandle(game['publicHandle']))
client.launchLastGame()
})
})
Install
$ npm install quick-clash