Skip to content

sdtarso/almanax-bonuses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alamnax Bonuses

Simples crawler to fetch every alamanax bonuses days and serve into a file

How to Run

Install the project

npm i

Run the command to fetch the data

npm run fetch

By default it will create a alamax.json file under the output folder (not versioned). If you want to create a csv file, pass the csv flag to the script like so.

npm run fetch -- csv

Steps

  • Setup the project
  • Fetch the alamanax day and extract the info (Formated,date, bonus type and description)
  • Create fn to iterate over the year
  • Fetch every day and save to a single array
  • Check for data in json before fetching
  • Create option so save file as csv
  • Save to csv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published