Scan with your iPhone to install
Trading Card Data Base.com (TCDB) Multi sport/Non Sport, etc Museum. Select catagory and then type year you want. It'll take you to the list of sets for that year.
Baseball, Basketball, Boxing, Cricket, Football, Gaming, Golf, Hockey, Misc Sports, MMA, Multi-Sports, Non-Sport, Racing, Soccer, Tennis, Wrestling.
What's New
Version 1.0
First release
What it does
11 actions-
Dictionary
-
Choose from List
-
Set VariableSelectedKey
-
URL Encode
-
Set VariableKeyEncoded
-
Get Dictionary Value
-
Set VariableSelectedValue
-
Ask for Input…
-
Set VariableYear
-
URLhttps://www.tcdb.com/ViewAll.cfm/sp/…/year/…
-
Open URLs
View as code
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 orange
#define glyph baseball
const Dictionary = {
"Baseball": "1866-2022",
"Basketball": "1948-2022",
"Boxing": "1890-2021",
"Cricket": "1896-2022",
"Football": "1894-2022",
"Gaming": "1970-2022",
"Golf": "1900-2021",
"Hockey": "1906/07-2022/23",
"MMA": "1997-2022",
"Misc Sports": "1888-2022",
"Multi-Sports": "1887-2022",
"Non-Sport": "1863-2022",
"Racing": "1911-2022",
"Soccer": "1901-2022",
"Tennis": "1911-2020",
"Wresting": "1954-2022"
}
chooseFromList(Dictionary['Keys'], "Select key:")
@SelectedKey
urlEncode(@SelectedKey)
@KeyEncoded
@SelectedValue = Dictionary[@SelectedKey]
prompt(@SelectedValue, "Number")
@Year
const URL = url("https://www.tcdb.com/ViewAll.cfm/sp/{@KeyEncoded}/year/{@Year}")
openURL(URL)
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 theslug
You Might Also Like
Advertisement