Scan with your iPhone to install
Simple IP address searcher
What's New
Version 1.0
First release
What it does
8 actions-
URLhttps://api.ipify.org?format=json
-
Get Contents of URL…
-
Split Text
-
Get Item from List
-
Split Text
-
Get Item from List
-
Copy to Clipboard
-
Show NotificationYour public IP is: …
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/web'
#define color orange
#define glyph binoculars
url("https://api.ipify.org?format=json")
const ContentsOfURL = downloadURL()
const SplitText = splitText(ContentsOfURL, "{"ip":"")
const ItemFromList = getListItem(SplitText, 2)
const SplitText1 = splitText(ItemFromList, """)
const ItemFromList1 = getFirstItem(SplitText1)
setClipboard(ItemFromList1)
showNotification("Your public IP is: {Clipboard}", "What Is My IP?", true, ItemFromList1)
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by thee-loud-cookie
You Might Also Like
Advertisement