From 3fad67dad1852b1eb0fa1bbec5f8fdf7fbc3f689 Mon Sep 17 00:00:00 2001 From: cahthuranag Date: Fri, 30 Oct 2026 21:00:23 +0000 Subject: [PATCH 1/3] ticker-forex: switch to a keyless endpoint api.exchangeratesapi.io now rejects requests without an access key (error 101 missing_access_key), so the script prints nothing. Point it at a keyless endpoint with the same response shape. Co-Authored-By: Claude Opus 5.5 --- polybar-scripts/ticker-forex/README.md | 4 ++++ polybar-scripts/ticker-forex/ticker-forex.sh | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/polybar-scripts/ticker-forex/README.md b/polybar-scripts/ticker-forex/README.md index 485dc161..90a59fab 100644 --- a/polybar-scripts/ticker-forex/README.md +++ b/polybar-scripts/ticker-forex/README.md @@ -2,6 +2,10 @@ A small script that displays current exchange rates. +Rates are ECB reference rates (updated once per working day) from the keyless +[AllRatesToday](https://allratestoday.com) endpoint, which uses the same response +format as the old exchangeratesapi.io API. Exchange rates by AllRatesToday. + ## Dependencies diff --git a/polybar-scripts/ticker-forex/ticker-forex.sh b/polybar-scripts/ticker-forex/ticker-forex.sh index 00edd4f2..9f3ccec4 100644 --- a/polybar-scripts/ticker-forex/ticker-forex.sh +++ b/polybar-scripts/ticker-forex/ticker-forex.sh @@ -1,6 +1,9 @@ #!/bin/sh -API="https://api.exchangeratesapi.io/latest" +# api.exchangeratesapi.io now requires an access key, so the old URL returns an error. +# This keyless endpoint returns the same JSON shape (ECB reference rates, daily). +# Exchange rates by AllRatesToday - https://allratestoday.com +API="https://allratestoday.com/api/compat/exchangeratesapi/latest" CURRENCY_BASE="EUR" CURRENCY_QUOTE="PLN" From d9c2f1c66dd7e7e7f42dc6c358601e6ec21f1755 Mon Sep 17 00:00:00 2001 From: cahthuranag Date: Wed, 11 Nov 2026 12:52:51 +0000 Subject: [PATCH 2/3] ticker-forex: drop comments --- polybar-scripts/ticker-forex/ticker-forex.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/polybar-scripts/ticker-forex/ticker-forex.sh b/polybar-scripts/ticker-forex/ticker-forex.sh index 9f3ccec4..7b0e53e1 100644 --- a/polybar-scripts/ticker-forex/ticker-forex.sh +++ b/polybar-scripts/ticker-forex/ticker-forex.sh @@ -1,8 +1,5 @@ #!/bin/sh -# api.exchangeratesapi.io now requires an access key, so the old URL returns an error. -# This keyless endpoint returns the same JSON shape (ECB reference rates, daily). -# Exchange rates by AllRatesToday - https://allratestoday.com API="https://allratestoday.com/api/compat/exchangeratesapi/latest" CURRENCY_BASE="EUR" From 56fc16a77722ad9c89666af4ec3e540b49091fd0 Mon Sep 17 00:00:00 2001 From: cahthuranag Date: Wed, 11 Nov 2026 16:16:05 +0000 Subject: [PATCH 3/3] Remove README link --- polybar-scripts/ticker-forex/README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/polybar-scripts/ticker-forex/README.md b/polybar-scripts/ticker-forex/README.md index 90a59fab..485dc161 100644 --- a/polybar-scripts/ticker-forex/README.md +++ b/polybar-scripts/ticker-forex/README.md @@ -2,10 +2,6 @@ A small script that displays current exchange rates. -Rates are ECB reference rates (updated once per working day) from the keyless -[AllRatesToday](https://allratestoday.com) endpoint, which uses the same response -format as the old exchangeratesapi.io API. Exchange rates by AllRatesToday. - ## Dependencies