this post was submitted on 14 Jun 2023
28 points (100.0% liked)

MTG

1859 readers
5 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
 

Great news everyone -- the Lemmy CardFetcherBot is now live across all MTGZone communities. We're still updating it and working on getting running with supervisor on the server, but in the meantime it should be handling all comments and posts on our instance here.

To use it, type card names in this format: [[Card Name]], and Cardbot will reply with links to the cards.

If you'd like to help out in anyway, feel free to join in at Github here: https://github.com/mikegioia/lemmy-cardfetcher-bot

Adding issues, sending PRs, anything at all will be helpful!

[[Venture Forth]]

top 29 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago (1 children)

[[Our Market Research Shows That Players Like Really Long Card Names So We Made this Card to Have the Absolute Longest Card Name Ever Elemental]]

[–] [email protected] 2 points 1 year ago (1 children)

[[Fire // Ice]]
[[Start // Finish]]

[–] [email protected] 2 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago

Everything looks good there.

[–] [email protected] 2 points 1 year ago (1 children)

[[Silvos, Rogue Elemental]]

[–] [email protected] 2 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago

There's my boy

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago (1 children)

still working out some kinks 😅 [[Loopy Lobster]]

[–] [email protected] 1 points 1 year ago (1 children)
  • Unable to retrieve information for "Loopy Lobster"

[[card name]] to call

[–] [email protected] 1 points 1 year ago (1 children)

Hmm, let's try something Standard-legal: [[Chrome Cat]]

[–] [email protected] 2 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago (1 children)

That seems good! Is the card list limited to things that are tournament-legal? Loopy Lobster was one of the Mystery Booster playtest cards.

[–] [email protected] 2 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 1 year ago (1 children)

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 with include_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.

[–] [email protected] 2 points 1 year ago

That's a good idea, I think re-running it would be pretty reasonable to add in soon.

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago
[–] [email protected] 1 points 1 year ago (1 children)

Could you update the sidebar with the github link and maybe a quick usage instruction?

[–] [email protected] 1 points 1 year ago

Just updated now, great idea

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago (1 children)
  • Unable to retrieve information for "Verdant Force|TMP"

[[card name]] to call

[–] [email protected] 4 points 1 year ago (1 children)

We dont support the |SET syntax yet

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

[[card name]] to call

[–] [email protected] 1 points 1 year ago

[[card name]] to call

[–] [email protected] 0 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago