ShareShortcuts

TCDB Museum

Trading Card Data Base.com (TCDB) Multi sport/Non Sport, etc Museum

theslug
Fork “TCDB Museum”

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 theslug 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
40K
Saved
0
Actions
11
Category
API
Version
1.0
Language
EN

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

Version History
1.0 Jul 23, 2022

First release

What it does

11 actions
  1. Dictionary
  2. Choose from List
  3. Set Variable
    SelectedKey
  4. URL Encode
  5. Set Variable
    KeyEncoded
  6. Get Dictionary Value
  7. Set Variable
    SelectedValue
  8. Ask for Input
    …
  9. Set Variable
    Year
  10. URL
    https://www.tcdb.com/ViewAll.cfm/sp/…/year/…
  11. Open URLs

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 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

See All

You Might Also Like

See All
Advertisement