updated api keys and README
This commit is contained in:
parent
6611a4d2ce
commit
4c3c406ab1
2 changed files with 2 additions and 1 deletions
|
|
@ -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!
|
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
|
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
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ pad_string() {
|
||||||
#api requests
|
#api requests
|
||||||
|
|
||||||
api_key="1dfeef54f6e423266e0f09920919f297"
|
api_key="1dfeef54f6e423266e0f09920919f297"
|
||||||
ipinfo_key="adc827a697c024"
|
ipinfo_key="598e73a582179f"
|
||||||
user_ip=$(curl -s https://ifconfig.me/ip)
|
user_ip=$(curl -s https://ifconfig.me/ip)
|
||||||
|
|
||||||
location_info=$(curl -s "https://ipinfo.io/$user_ip?token=$ipinfo_key")
|
location_info=$(curl -s "https://ipinfo.io/$user_ip?token=$ipinfo_key")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue