tsdev-ejm-data
v0.3.2
Published
## Description
Downloads
1
Readme
tsdev-ejm-data
Description
This is a data API for the EuroJackpot. The module should help you to collect and filter the relevant data.
https://en.wikipedia.org/wiki/Eurojackpot
Draws
11.03.2022 --- 23.03.2012
Installation
npm install --save tsdev-ejm-data
Import
import TsdevEjmData from 'tsdev-ejm-data'
Get Keys Data
import TsdevEjmData from 'tsdev-ejm-data'
...
console.log('Key-Data', TsdevEjmData.data)
Properties:
data: ( array of objects: DATA-OBJECT-STRUCTURE )
- returns an array of objects
- first item is an object and is equivalent to last draw item
dataLastDraw: ( object: DATA-OBJECT-STRUCTURE )
- returns an objects with keys for last draw item
dataFirstDraw: ( object: DATA-OBJECT-STRUCTURE )
- returns an objects with keys for first draw item
dataClass1: ( array of objects: DATA-OBJECT-STRUCTURE )
- returns an array of objects where draw class 1 was reached
dataMaxJackpot: ( array of objects: DATA-OBJECT-STRUCTURE )
- returns an array of objects where one player exactly has reached the maximum jackpot of 90.000.000,00 €
DATA-OBJECT-STRUCTURE
date: string;
winningNumber1: number;
winningNumber2: number;
winningNumber3: number;
winningNumber4: number;
winningNumber5: number;
euroNumber1: number;
euroNumber2: number;
stakeAsString: string;
stakeAsNumber: number;
countCl1: number;
countCl2: number;
countCl3: number;
countCl4: number;
countCl5: number;
countCl6: number;
countCl7: number;
countCl8: number;
countCl9: number;
countCl10: number;
countCl11: number;
countCl12: number;
quotaCl1: string;
quotaCl2: string;
quotaCl3: string;
quotaCl4: string;
quotaCl5: string;
quotaCl6: string;
quotaCl7: string;
quotaCl8: string;
quotaCl9: string;
quotaCl10: string;
quotaCl11: string;
quotaCl12: string;