Skip to content

Commit

Permalink
switch to v6 endpoint (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
pstadler authored May 7, 2023
1 parent af7a595 commit 127cfb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ticker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fi

FIELDS=(symbol marketState regularMarketPrice regularMarketChange regularMarketChangePercent \
preMarketPrice preMarketChange preMarketChangePercent postMarketPrice postMarketChange postMarketChangePercent)
API_ENDPOINT="https://query1.finance.yahoo.com/v7/finance/quote?lang=en-US&region=US&corsDomain=finance.yahoo.com"
API_ENDPOINT="https://query1.finance.yahoo.com/v6/finance/quote?lang=en-US&region=US&corsDomain=finance.yahoo.com"

if [ -z "$NO_COLOR" ]; then
: "${COLOR_BOLD:=\e[1;37m}"
Expand Down

0 comments on commit 127cfb9

Please sign in to comment.