koalasthegreat / AmoeboidBotRedux

1 stars 1 forks source link

Implement specifying parameters in wrapped search #19

Closed koalasthegreat closed 2 months ago

koalasthegreat commented 4 months ago

Specifying the set for a card inside bracket search is still used a bunch in the legacy project, so implementing it here is needed. For now, we can just have the set for a card specifiable as that's all we can get from Scryfall's API at the moment, but we can make it easily expandable for the future.

An example of this is as follows:

[shock;set=m20]

In this case, we want to use the semicolon as a splitting character and extract m20 as the set here. In future we may want to specify multiple parameters here, so the implementation should be extensible.

koalasthegreat commented 2 months ago

This has been implemented for the set parameter in cb4ae85, we may want to implement more potential parameters later, but that will depend on what Scryfall's api can give us. Closing this and opening a new issue.