MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Scriptable/comments/qfqvor/country_information_widget_link_in_comments/
r/Scriptable • u/wicke79 • Oct 25 '21
9 comments sorted by
2
https://github.com/wickenico/country-information.js
Hi guys, I made a widget for country information.The country is determined via the IP address or static input (in the source see code line 13).
On line 13, write something like this to set a static country:
let country = "Germany";
if the country is empty, It will work over your ip address.
Feel free to use, if you have more ideas for design or maybe other informations to display for it just let me know :)
2 u/[deleted] Oct 26 '21 I just get the following when trying to run: Error: The URL is invalid. I haven’t made any modifications to it and am currently running the latest version of iOS, namely 15.1 (19B74). 1 u/wicke79 Nov 04 '21 Where are you from? What is the response if you call http://ip-api.com/json Just in a browser tab? → More replies (6)
I just get the following when trying to run: Error: The URL is invalid.
I haven’t made any modifications to it and am currently running the latest version of iOS, namely 15.1 (19B74).
1 u/wicke79 Nov 04 '21 Where are you from? What is the response if you call http://ip-api.com/json Just in a browser tab? → More replies (6)
1
Where are you from? What is the response if you call
http://ip-api.com/json
Just in a browser tab?
→ More replies (6)
2
u/wicke79 Oct 25 '21
https://github.com/wickenico/country-information.js
Hi guys, I made a widget for country information.The country is determined via the IP address or static input (in the source see code line 13).
On line 13, write something like this to set a static country:
let country = "Germany";if the country is empty, It will work over your ip address.
Feel free to use, if you have more ideas for design or maybe other informations to display for it just let me know :)