ShareShortcuts

Bitcoin - squidium.io

The Bitcoin market price in real-time

squidium-io
Создать форк «Bitcoin - squidium.io»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы squidium-io получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
65K
Сохранено
1
Действия
25
Категория
Productivity
Версия
1.0
Язык
EN

Просмотр

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

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

Love 😘

Что нового

Версия 1.0

First release

История версий
1.0 30 сен 2019 г.

First release

Что делает

Действий: 25
  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 - …

Посмотреть как код
Бета

Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.

#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}")
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Ещё от squidium-io

См. все

Вам также может понравиться

См. все
Реклама