diff options
Diffstat (limited to 'fetch_rates.sh')
| -rwxr-xr-x | fetch_rates.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fetch_rates.sh b/fetch_rates.sh new file mode 100755 index 00000000..83d60a3e --- /dev/null +++ b/fetch_rates.sh @@ -0,0 +1,2 @@ +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +curl -k https://api.bitcoinaverage.com/exchanges/all > $DIR/rates.tmp && mv $DIR/rates.tmp $DIR/rates.json |
