powerball-picker
v1.0.4
Published
Uses true randomness to pick 5 powerball numbers and the 1 powerball
Downloads
1
Maintainers
Readme
powerball-picker
A simple Powerball 5 ticket picker that uses Random.org true randomness
Random.org is a truly random number generation service. You will need an API Key from Random.org to use this module.
Installation
Install through npm:
$ npm install powerball-picker
Usage
var powerball = require('powerball-picker');
var apiKey = "123456789-123456-apiKey" // obtained from Random.org API
var client = new powerball(apiKey);
client.pickPowerball(data => {
console.log(data.numbers + " " + data.powerball);
});
Disclaimer
This module uses the api provided by Random.org. As such, I can't guarantee the availability or randomness of their service. Also, I can't guarantee that the numbers given will be winning numbers.
License
MIT.