No description
Find a file
Correl 6030be74c4 Compare JSON return values, not strings
Leverage json quasi-quoting to build a JSON object for comparison so
that arbitrary field order in objects doesn't invalidate tests.
2022-03-24 01:29:53 -04:00
app Add initial servant API implementation 2022-03-22 22:59:25 -04:00
src Add top-level api annotations 2022-03-23 20:44:58 -04:00
test Compare JSON return values, not strings 2022-03-24 01:29:53 -04:00
tests Initial commit 2021-07-05 21:41:05 -04:00
tutor Adjust import warnings 2022-02-10 18:03:21 -05:00
www Add OpenAPI documentation 2022-03-23 19:36:14 -04:00
.dockerignore Add .dockerignore 2021-07-07 22:20:37 -04:00
.flake8 Build the local card database using Scryfall 2021-07-06 22:42:35 -04:00
.gitignore Add UI and Dockerfile 2021-07-07 22:19:25 -04:00
docker-entrypoint.sh Add UI and Dockerfile 2021-07-07 22:19:25 -04:00
Dockerfile Add UI and Dockerfile 2021-07-07 22:19:25 -04:00
package.yaml Add top-level api annotations 2022-03-23 20:44:58 -04:00
poetry.lock Update poetry.lock 2021-07-14 17:14:51 -04:00
pyproject.toml Paginate search results 2021-07-15 20:57:54 -04:00
README.org Add a README 2021-07-16 00:46:58 -04:00
Setup.hs Add initial servant API implementation 2022-03-22 22:59:25 -04:00
stack.yaml Add OpenAPI documentation 2022-03-23 19:36:14 -04:00
stack.yaml.lock Add OpenAPI documentation 2022-03-23 19:36:14 -04:00
tables.sql Handle nullable scryfall card fields 2022-02-10 17:03:03 -05:00
tutor.cabal Add top-level api annotations 2022-03-23 20:44:58 -04:00

Tutor

A collection manager for Magic: The Gathering playing cards.

Searching

Text in the search bar will be used to filter cards having that text in their name. Additionally, the keyword expressions below can be used to search for cards with certain properties.

Examples

bolt
Find all cards with "bolt" in the name
"God of"
Find all cards with "God of" in the name
t:legendary t:creature c:jund
Find all legendary creatures with a color identity of red/blue/green
color<=ubg
Find all spells that are blue, black, green, or any combination thereof.
color:red set:stx rarity>=rare
Find all red cards in Strixhaven that are rare or mythic
t:enchantment o:"enters the battlefield"
Find all enchantments with ETB effects

Keywords

Colors

Keywords
c, color
Operators
: (matches), >= (greater than or equal to), <= (less than or equal to)

Matches cards of the chosen color or colors.

Single colors
w or white, u or blue, b or black, =g or green, r or red
Any combination of abbreviated single colors
e.g.: rg, uw, or wubgr
Ravnican guilds
boros (white/red), golgari (green/black), selesnya (green/white), dimir (blue/black), orzhov (white/black), izzet (blue/red), gruul (red/green), azorius (white/blue), rakdos (black/red), simic (green/blue)
Alaran shards
bant (white/green/blue), esper (blue/white/black), grixis (black/blue/red), jund (red/blue/green), naya (green/red/white)
Tarkirian wedges
abzan (white/black/green), jeskai (white/blue/red), sultai (blue/black/green), mardu (white/black/red), temur (blue/red/green)

Sets

Keywords
s, set, e, expansion
Operators
: (matches)

Rarity

Keywords
r, rarity
Operators
: (matches), >= (greater than or equal to), <= (less than or equal to)

Type

Keywords
t, type
Operators
: (matches)

Oracle Text

Keywords
o, oracle
Operators
: (matches)