From 8b9441b5e6e708175042c4dbad5d61dc1995ef83 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Wed, 29 May 2019 16:36:46 +0200 Subject: [PATCH] initial commit --- get-csco-price.sh | 6 ++++++ get-usd-to-eur.sh | 4 ++++ 2 files changed, 10 insertions(+) create mode 100755 get-csco-price.sh create mode 100755 get-usd-to-eur.sh 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