Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
command line tools that use argent-drivers.
JavaScript
tag: v0.0.3

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.md
cp-draws.js
nlcb-lotto-drawdates.js
nlcb-lotto-drawnumbers.js
package.json

README.md

argent-cli

Command line tools built upon argent-drivers

cp-draws.js

Copy draws to mongo store from nlcb.co.tt.

Make a configuration file for database settings and put in ./config

//File: localhost-conf.js
exports.db = {
  'database': 'mongo',
  'address': 'localhost:27017/lottoplus?auto_reconnect',
  'username': null,
  'password': null
};

Now

./cp-draws.js -l 1 -u 10 -d 'localhost-conf.js' to get draws 1 to 10 and store in database described by localhost-conf.js.

./cp-draws.js -h for help.

nlcb-lotto-drawdates.js

Print lottoplus draws by date.

./nlcb-lotto-drawdates.js -h for help.

nlcb-lotto-drawnumbers.js

Print lottoplus draws by number.

./nlcb-lotto-drawnumbers.js -h for help.

Something went wrong with that request. Please try again.