1.0.0 • Published 4 years ago

@game-action/primolotto v1.0.0

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

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