norsk-tipping-results

Get results from Norsk Tipping's lotteries

Usage no npm install needed!

<script type="module">
  import norskTippingResults from 'https://cdn.skypack.dev/norsk-tipping-results';
</script>

README

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.