pvieito / LottoKit

Swift framework and command line tool to check tickets from Spanish Christmas Lottery.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LottoKit

Swift framework and CLI tool to check tickets from Spanish Christmas Lottery.

Requirements

LottoKit requires Swift 5 or higher and has been tested both on macOS and Linux.

Usage

To check the lottery tickets agains the Chrismast Lottery results simply feed the numbers:

$ cd LottoKit
$ swift run LottoTool -i 03347 21015 04211
[*] 03347: 400000.0€
[*] 21015: 125000.0€
[*] 04211: 50000.0€

You can also use LottoTool to check “El Niño” Lottery results:

$ swift run LottoTool -i 03347 21015 04211 -m ElNiño

Notes

LottoKit uses El País Christmas Lottery API as its backend. Always double check the result with the official ONLAE list.

About

Swift framework and command line tool to check tickets from Spanish Christmas Lottery.


Languages

Language:Swift 100.0%