ShareShortcuts

Trump’s mood - squidium.io

The trump’s mood sentiment analysis based on @realdonaldtrump twitter account

squidium-io
Fork “Trump’s mood - 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
19
Category
Fun
Version
1.0
Language
EN

Preview

The trump’s mood sentiment analysis based on @realdonaldtrump twitter account. Curious about the trump’s mood historical data? just take a look on: https://squidium.io/squids/2mZa0lAFjSTc5EcBWa8f.

If you like it, follow me on twitter @squidium_io ! peace

What's New

Version 1.0

First release

Version History
1.0 Oct 3, 2019

First release

What it does

19 actions
  1. Comment
    👋 thank you for using squidium.io! this shortcut gives you the trump's mood based on @realdonaldtrump tweet sentiment analysis. you can get all data analysis on squidium: https://squidium.io/squids/2mZa0lAFjSTc5EcBWa8f If you find this shortcut use…
  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. Calculate
  13. Set Variable
    squid_timestamp_s
  14. Date
  15. Adjust Date
  16. Format Date
  17. List
  18. Get Item from List
  19. 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 pink
#define glyph personAlter

/*
👋 thank you for using squidium.io! 
this shortcut gives you the trump's mood based on @realdonaldtrump tweet sentiment analysis. 

you can get all data analysis on squidium:
https://squidium.io/squids/2mZa0lAFjSTc5EcBWa8f

If you find this shortcut useful, follow us on twitter.com/squidium_io 😘 love
*/
@sid = "2mZa0lAFjSTc5EcBWa8f"
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'.
@squid_timestamp_s = nil / 1000
currentDate()
adjustDate("", "")
formatTimestamp("", "Relative", "Relative")
list("👿", "🤬", "😡", "😖", "😤", "😠", "☹️", "🙁", "😕", "😒", "😐", "😏", "🙂", "😀", "😃", "😄", "😆", "🥰", "😍", "🤩", "😇")
getRandomItem(nil)
showNotification("squidium.io - {}", "Trump's mood: {}")
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