From 36f7747780ea5f459e17f34c42d646abff6e6dbc Mon Sep 17 00:00:00 2001 From: epochqwert Date: Wed, 19 Dec 2018 19:33:37 +0000 Subject: updated scripts, and xchg stuff added --- bin/xchg.getdoublerate | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 bin/xchg.getdoublerate (limited to 'bin/xchg.getdoublerate') diff --git a/bin/xchg.getdoublerate b/bin/xchg.getdoublerate new file mode 100755 index 0000000..2a29c8c --- /dev/null +++ b/bin/xchg.getdoublerate @@ -0,0 +1,3 @@ +#!/bin/sh +wget -qO- "https://min-api.cryptocompare.com/data/price?fsym=$2&tsyms=$1" | jq '.["'"$1"'"]' +#/home/segfault/bin/xchg.getrates | jq '.["'"$1"'"].last' -- cgit v1.2.3