diff options
Diffstat (limited to 'bin/xchg.getdoublerate')
-rwxr-xr-x | bin/xchg.getdoublerate | 3 |
1 files changed, 3 insertions, 0 deletions
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' |