Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 720 Bytes

README.md

File metadata and controls

37 lines (29 loc) · 720 Bytes

fantacalcio-voti-live

A nodejs library to download live data from fantacalcio.it api.

Get started

npm

Install fantacalcio-voti-live:

$ npm i fantacalcio-voti-live@latest

To download json live data of a specific day:

$ npm fantacalcio-voti-live <day>

For instance, to download live data of day 9:

$ npx fantacalcio-voti-live 9

To save data to a file:

$ npx fantacalcio-voti-live 9 > live_data.json

docker

To run the tool from a Docker container:

$ docker run -it andregri/fantacalcio-voti-live:latest <day>

For instance, to download live data of day 9:

$ docker run -it andregri/fantacalcio-voti-live:latest 9