This script fetches latest transactions on your Fio banka account, through Fio API, and displays them in Notification Center for Mac, notify-osd/libnotify-bin for Linux, Toasters for Windows 8/10, or taskbar Balloons for earlier Windows versions. If none of these requirements are met, Growl is used.
Supports multiple accounts and currencies.
- Node.js: > 5.4.0
- Mac OS X: >= 10.8 (tested)
- Linux:
notify-osd
orlibnotify-bin
installed (Ubuntu should have this by default) - Windows: >= 8, task bar balloon if earlier or Growl if that is installed.
- General Fallback: Growl
-
Run
npm install
oryarn install
-
Generate and add your Fio API key(s) to the
config.json
file. -
Install the cron command:
* * * * * ~/<your path>/fio-notifier/run-node.sh >> ~/<your path>/fio-notifier/fio-notifier.log 2 >> ~/<your path>/fio-notifier/fio-notifier.error.log
If you are using a Node Version Manager, replace
run-node.sh
forrun-nvm.sh
. -
Enjoy!
-
Reset API pointer
https://www.fio.cz/ib_api/rest/set-last-id/<token>/<transaction-id>/
Fio Notifier is freely distributable under the terms of the MIT license.