commit 8b9441b5e6e708175042c4dbad5d61dc1995ef83 Author: Yann Esposito (Yogsototh) Date: Wed May 29 16:36:46 2019 +0200 initial commit diff --git a/get-csco-price.sh b/get-csco-price.sh new file mode 100755 index 0000000..57bf77d --- /dev/null +++ b/get-csco-price.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env zsh + +symbol='CSCO' +apikey='WUX6D88JP4SCYVEI' + +http "https://www.alphavantage.co/query?function=TIME_SERIES_MONTHLY&symbol=${symbol}&apikey=${apikey}" diff --git a/get-usd-to-eur.sh b/get-usd-to-eur.sh new file mode 100755 index 0000000..fed5abe --- /dev/null +++ b/get-usd-to-eur.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env zsh + +date="2019-05-01" +http "https://api.exchangeratesapi.io/${date}?base=USD&symbols=EUR" > euro-$date.json