1.0.2 • Published 9 years ago

norsk-tipping-results v1.0.2

Weekly downloads
12
License
-
Repository
-
Last release
9 years ago

#norsk-tipping-results Build Status

Get the results from Norsk Tippings lotteries. Thes includes Lotto, Keno, Extra, VikingLotto, Joker and EuroJackpot.

##Installation Via npm

$ npm install norsk-tipping-results

Via GitHub

$ git clone git@github.com:zrrrzzt/norsk-tipping-results.git

##Usage

Pass in an options object.

type The Id for the game you want results from. Valid options: lotto, keno, extra, vikinglotto, joker or eurojackpot

'use strict';

var ntr = require('norsk-tipping-results');
var opts = {
  type:'lotto'
};

ntr(opts, function(err, data){
  if(err){
    console.error(err);
  } else {
    console.log(data);
  }
});

##Disclaimer This is not an official API from Norsk Tipping, it might break.