ShareShortcuts

Bitcoin - squidium.io

The Bitcoin market price in real-time

squidium-io
Fork โ€œBitcoin - squidium.ioโ€

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 squidium-io 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
65K
Saved
1
Actions
25
Category
Productivity
Version
1.0
Language
EN

Preview

The Bitcoin market price in real-time. That's it!

If you like it, just follow us https://twitter.com/squidium_io!

Love ๐Ÿ˜˜

What's New

Version 1.0

First release

Version History
1.0 Sep 30, 2019

First release

What it does

25 actions
  1. Comment
    ๐Ÿ‘‹ thank you for using squidium.io! This shortcut is linked to Bitcoin market price (to see full bitcoin historical data, please visit https://squidium.io/squids/nEzx10FlPBb7JNQTFgre). By changing the Squid ID in the text field ๐Ÿ‘‡, you can easily diโ€ฆ
  2. Text
  3. Set Variable
    sid
  4. URL
    https://squidium.io/api/squids/โ€ฆ
  5. Get Contents of URL
  6. Set Variable
    squid
  7. Get Variable
  8. Get Dictionary Value
  9. Set Variable
    squid_value
  10. Get Variable
  11. Get Dictionary Value
  12. Change Case
  13. Set Variable
    squid_unit
  14. Get Variable
  15. Get Dictionary Value
  16. Change Case
  17. Set Variable
    squid_name
  18. Get Variable
  19. Get Dictionary Value
  20. Calculate
  21. Set Variable
    squid_timestamp_s
  22. Date
  23. Adjust Date
  24. Format Date
  25. Show Notification
    squidium.io - โ€ฆ

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'
#define color green
#define glyph bitcoin

/*
๐Ÿ‘‹ thank you for using squidium.io! 

This shortcut is linked to Bitcoin market price (to see full bitcoin historical data, please visit https://squidium.io/squids/nEzx10FlPBb7JNQTFgre). 

By changing the Squid ID in the text field ๐Ÿ‘‡, you can easily display the most recent value of any squid (see https://squidium.io/discover). 

If you find this shortcut useful, follow us on twitter.com/squidium_io ๐Ÿ˜˜ love
*/
@sid = "nEzx10FlPBb7JNQTFgre"
url("https://squidium.io/api/squids/{@sid}")
downloadURL("", {
	"Content-Type": "Application/Json"
})
@squid = nil
// TODO: Get Variable not supported: Assign variable here to '@squid'.
@squid_value = nil['value']
// TODO: Get Variable not supported: Assign variable here to '@squid'.
uppercase("")
@squid_unit = nil
// TODO: Get Variable not supported: Assign variable here to '@squid'.
uppercase("")
@squid_name = nil
// TODO: Get Variable not supported: Assign variable here to '@squid'.
@squid_timestamp_s = nil / 1000
currentDate()
adjustDate("", "")
formatTimestamp("", "Relative", "Relative")
showNotification("squidium.io - {}", "{@squid_name}:  {@squid_value} {@squid_unit}")
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 squidium-io

See All

You Might Also Like

See All
Advertisement