1.0.0 • Published 5 years ago

@game-action/kingoloto-app v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

GameAction/kingoloto-app

This repository created to play on kingoloto website and play grids

💻 Usage

TypeScript

import { KingolotoApp } from "@game-action/kingoloto-app";

// to connect
const king = await KingolotoApp.init("email", "password");

// fetch summary information
const summary = await king.summary();
console.log(summary); // Summary { euros: 1.01, usedeuros: 0, points: 7800, usedpoints: 1950 }

// play grid, max of 10 per day
const grid = await king.playGrid();
console.log(grid); // true or false

📄 License