dots/configs/home/config/polybar/eth.sh
2022-04-03 01:11:04 +02:00

4 lines
111 B
Bash

#!bin/dash
curl -s https://api.coinbase.com/v2/prices/ETH-EUR/spot | sed -n 's|.*"amount":"\([^"]*\)".*|\1|p'