From 4c3c406ab1777b8817d49743e82adc1f9e110422 Mon Sep 17 00:00:00 2001 From: HornetMaidan Date: Tue, 2 Jul 2024 16:58:16 +0500 Subject: [PATCH] updated api keys and README --- README.md | 1 + weather.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 282edb7..98a5ff3 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,4 @@ further updates will be most likely only to fix something, i think this project if you may experience any issue with this script or want to suggest to add something - you are more than welcome! P.S: api keys are intentionally left right in the script as variables so you can change them to your own/any other if they reach the request limit +all of them are registered on a disposable email address, neither i save the passwords to them, so i don't have access to the information sent through them at all diff --git a/weather.sh b/weather.sh index 117954e..4436a8d 100755 --- a/weather.sh +++ b/weather.sh @@ -41,7 +41,7 @@ pad_string() { #api requests api_key="1dfeef54f6e423266e0f09920919f297" -ipinfo_key="adc827a697c024" +ipinfo_key="598e73a582179f" user_ip=$(curl -s https://ifconfig.me/ip) location_info=$(curl -s "https://ipinfo.io/$user_ip?token=$ipinfo_key")