Loading...
Loading...
Check Korean Lotto draw results, latest rounds, and ticket matches with the k-lotto npm package. Use when the user asks for winning numbers, payout details, or whether their numbers matched.
npx skill4agent add nomadamas/k-skill lotto-resultsk-lottonpm install -g k-lottoexport NODE_PATH="$(npm root -g)"npm installnode -e 'require("k-lotto")'npm install -g k-lotto
export NODE_PATH="$(npm root -g)"NODE_PATH="$(npm root -g)" node - <<'JS'
const lotto = require("k-lotto");
lotto.getLatestRound().then((round) => console.log(round));
JSNODE_PATH="$(npm root -g)" node - <<'JS'
const lotto = require("k-lotto");
lotto.getDetailResult(1216).then((result) => console.log(JSON.stringify(result, null, 2)));
JSNODE_PATH="$(npm root -g)" node - <<'JS'
const lotto = require("k-lotto");
lotto.checkNumber(1216, ["3", "10", "14", "15", "23", "24"])
.then((result) => console.log(JSON.stringify(result, null, 2)));
JS