Scan med din iPhone for at installere
Simple shortcut to get today's word for the NY Times' Wordle Game. Use this as a last resort if you really give up :)
Nyheder
Version 1.0
First release
Hvad den gør
14 handlinger-
Date
-
Format Date
-
Split Text
-
Get Item from List
-
Add to Variable
-
Get Item from List
-
Add to Variable
-
Get Item from List
-
Add to Variable
-
Get Contents of URLhttps://www.nytimes.com/svc/wordle/v2/…-…-….json
-
Get Dictionary from Input
-
Get Dictionary Value
-
Get Dictionary Value
-
Show AlertWordle - …
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#include 'actions/web'
#include 'actions/calendar'
#define color violet
#define glyph closedBook
currentDate()
const FormattedDate = formatTimestamp(, "Custom", "None", "dd/MM/yyyy")
const SplitText = splitText(FormattedDate, "/")
getListItem(SplitText, 0)
@date
getListItem(SplitText, 2)
@month
getListItem(SplitText, 3)
@year
const ContentsOfURL = downloadURL("https://www.nytimes.com/svc/wordle/v2/{@year}-{@month}-{@date}.json")
const Dictionary = getDictionary(ContentsOfURL)
alert("Today's word is \"{}\" by {}", "Wordle - {}")
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Du vil måske også kunne lide
Annonce