Crypto Assets Monitor (Backend)
Download
git clone https://github.com/vaidis/Crypto-Assets-Monitor.git
Install
cd CryptoAssets-Monitor/Back
npm install
Run
npm start
Endpoints
GET /kraken/assets
GET /kraken/assetpairs?asset=BTC
GET /kraken/ohlc?pair=XXBTCUSDT&interval=60
Test Endpoints
curl --location --request GET 'http://localhost:8080/kraken/assets'
curl --location --request GET 'http://localhost:8080/kraken/assetpairs?asset=XBT'
curl --location --request GET 'http://localhost:8080/kraken/ohlc?pair=XXBTZEUR&interval=60'
or import the postman_collection.json to postman rest api client