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