argent-drivers
NLCB game results scrapers.
Installation
$ npm install argent-drivers
Usage
The lottoplus scraper
const lottoplus = ;
Scrapes nlcb.co.tt for lottoplus draws.
.number(n)
/** * number: number -> promise * @param * @returns a promise for draw number n */
The following prints the first lottoplus draw ever.
#! /usr/bin/env nodeconst lottoplus = ;const draw = await lottoplus;consoledirdraw;
.date(d)
/** * date: Date -> promise * @param * @returns a promise for the draw with date d */
The following prints the draw for 1 December, 2012.
#! /usr/bin/env nodeconst lottoplus = ;const draw = await lottoplus;consoledirdraw;