Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qqilihq/node-red-contrib-ecb-euro-exchange-rates
Node-RED node to access the Euro Exchange Rates by ECB
https://github.com/qqilihq/node-red-contrib-ecb-euro-exchange-rates
node-red node-red-contrib
Last synced: 6 days ago
JSON representation
Node-RED node to access the Euro Exchange Rates by ECB
- Host: GitHub
- URL: https://github.com/qqilihq/node-red-contrib-ecb-euro-exchange-rates
- Owner: qqilihq
- Created: 2019-06-09T08:52:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-20T06:05:41.000Z (about 1 year ago)
- Last Synced: 2024-10-10T04:07:37.245Z (27 days ago)
- Topics: node-red, node-red-contrib
- Language: HTML
- Homepage:
- Size: 1.26 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Euro Exchange Rates by ECB for Node RED
[![Run Status](https://api.shippable.com/projects/5cfe1574b875100006726d8d/badge?branch=master)]()
[![Coverage Badge](https://api.shippable.com/projects/5cfe1574b875100006726d8d/coverageBadge?branch=master)]()
[![npm version](https://badge.fury.io/js/node-red-contrib-ecb-euro-exchange-rates.svg)](https://badge.fury.io/js/node-red-contrib-ecb-euro-exchange-rates)[Node-RED](https://nodered.org) plugin to retrieve Euro foreign exchange reference rates from an [API](http://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html) provided by the European Central Bank.
Based on my [ecb-euro-exchange-rates](https://github.com/qqilihq/ecb-euro-exchange-rates) module.
This serves as my “hello world” to learn how to build Node RED nodes. Most steps are simply following the [“Create your first node”](https://nodered.org/docs/creating-nodes/first-node) tutorial, additionally I used the `@types/node-red` to write this in TS.
## Build
Use a current version of [Node.js](https://nodejs.org/en/). Install the dependencies, run the tests, and compile the TypeScript code with [yarn](https://yarnpkg.com/lang/en/) or npm:
```shell
$ yarn
$ yarn test
$ yarn build
```## Releasing to NPM
Commit all changes and run the following:
```shell
$ npm login
$ npm version
$ npm publish
```… where `` is one of `patch`, `minor`, or `major`. This will update the `package.json`, and create a tagged Git commit with the version number.
- - -
Copyright Philipp Katz, 2019