this post was submitted on 14 Jun 2023
29 points (100.0% liked)
MTG
1910 readers
14 users here now
Magic: the Gathering discussion
General discussion, questions, and media related to Magic: the Gathering that doesn't fit within a more specific community. Our equivalent of /r/magicTCG!
Type [[Card name]]
in your posts and comments and CardBot will reply with a link to the card! More info here.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
[[Loopy Lobster]]
still working out some kinks ๐ [[Loopy Lobster]]
[[card name]] to call
Hmm, let's try something Standard-legal: [[Chrome Cat]]
[[card name]] to call
That seems good! Is the card list limited to things that are tournament-legal? Loopy Lobster was one of the Mystery Booster playtest cards.
It's using the Scryfall API, and this is the query we're making for that card: https://api.scryfall.com/cards/search?q=Loopy+Lobster
I'm not sure why Scryfall can't find it since they serve the page for it.
All of those playtest cards are excluded, it looks like. I think I found the answer here. This URL will find Loopy Lobster:
https://api.scryfall.com/cards/search?include_extras=1&q=Loopy+Lobster
But the
include_extras
parameter also covers things like tokens and planes which you might reasonably decide you don't want. Maybe have it re-run the search withinclude_extras
if the initial search without it comes back empty? Or maybe not, since that could significantly increase the number of API calls. I don't know.That's a good idea, I think re-running it would be pretty reasonable to add in soon.