ShareShortcuts

MyIP

- Free IP Lookup API

m2robot
Fork “MyIP”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so m2robot gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
46K
Saved
1
Actions
18
Category
API
Version
1.1
Language
EN

Preview

  • Free IP Lookup API.

What's New

Version 1.1

- auto copied to your clipboard.

Version History
1.1 Dec 9, 2021

- auto copied to your clipboard.

1.0 Dec 8, 2021

First release

What it does

18 actions
  1. Dictionary
  2. Set Variable
    index
  3. Get Text from Input
  4. Base64 Encode
  5. Get URLs from Input
  6. Set Variable
    myip
  7. Get Text from Input
  8. Get Contents of URL
    …
  9. Set Variable
    Methods GET
  10. Set Variable
    right
  11. Set Variable
    output
  12. Base64 Encode
  13. Set Variable
    left
  14. Text
  15. Copy to Clipboard
  16. Show Notification
    …
  17. Stop This Shortcut
  18. Comment
    reddit : u/1112_20607

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/web'
#include 'actions/text'
#define color blue
#define glyph locationPin

const myip = {
	"!author": "https://is.gd/LJ8xXN",
	"!store": "https://is.gd/KYdMgK",
	"u": {
		"crypt": "aHR0cHM6Ly9pcy5nZC9PMnlDbzY=",
		"nothing": "WW91ciBJUCBBZGRyZXNzIDog"
	}
}
@index = myip
const encode = getText(myip['u.crypt'])
const decoder = base64Encode(encode)
@myip = getURLs(decoder)
const nothing_clean = getText(@index)
@MethodsGET = fileRequest(@myip, "GET", {})
@right = @MethodsGET
@output = @right
@left = base64Encode(nothing_clean)
const result = "{@left} {@right}"
setClipboard(@output)
showNotification(result, "Copied!", false)
stop()
// reddit : u/1112_20607
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 m2robot

See All

You Might Also Like

See All
Advertisement