szkrd / eshop-watcher

Watch regional Nintendo eshop for good deals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eshop-watcher

Watch regional Nintendo eshop for good deals.

This is a cli tool, that can render the best deals into an html page (which it can send to you or serve it via a static server).

It uses the undocumented eshop API, so in order to avoid bombing the API, the calls are cached on the disk for at least one day.

usage

  1. clone repository, cd eshop-watcher
  2. npm i
  3. echo "module.exports = {};" > ./config.user.js, and edit the file (you can override the default config values)
  4. node .

parameters

  1. --mail: sends the rendered html as a mail; uses SendGrid, so you will need an API key (or change the mail transport, I use nodemailer).
  2. --server: serves the static html page on a server; set port and host in the config json.
  3. --cron: will not exit (unless something breaks): continually reruns the app after X days.

About

Watch regional Nintendo eshop for good deals

License:MIT License


Languages

Language:JavaScript 82.3%Language:Handlebars 17.7%