diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rwxr-xr-x | fetch_rates.sh | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -5,3 +5,4 @@ builtAssets database.json sequelize.coffee npm-debug.log +rates.json 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 |
