1.0.0 • Published 3 years ago
@game-action/bananalotto v1.0.0
GameAction/bananalotto
This repository created to play on bananalotto website and play grids
💻 Usage
Install the package as a dependency from npm:
npm install --save-dev @game-action/bananalotto
or
yarn add -D @game-action/bananalotto
TypeScript
import { Bananalotto } from "@game-action/bananalotto";
// to connect
const king = await Bananalotto.init("email", "password");
// fetch summary information
const summary = await king.summary();
console.log(summary); // Summary { grid: 10, cash: 0.06, point: 6750 }
// play grid, max of 10 per day
const grid = await king.playGrid();
console.log(grid); // true or false
📄 License
- Code: MIT © Rémy BRUYERE
1.0.0
3 years ago