Skip to content

Commit 722f4fb

Browse files
committed
Update instruction to reflect new 'scry' run command
1 parent fd5c0cd commit 722f4fb

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

README.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
1-
# _"scry a card, planeswalker..."_
1+
# _"scry a card, planeswalker..."_ 🔮🃏
22

3-
a simple test to pull cards and gets stats from [scryfall](https://scryfall.com/docs/api), using python
3+
Leveraging [scryfall](https://scryfall.com/docs/api) to get stats for MTG cards
4+
5+
## setup
6+
7+
Clone and install with `pipx install scry`
48

59
## use
610

7-
1. Add cards into database with a [search query](https://scryfall.com/docs/syntax): `python -m scry list "set:blb"` (returns unique cards from Bloomburrow set) and return stats for that query list.
8-
2. Request a list of set releases with: `python -m scry setcodes`
9-
3. Return stats for entire database: `python -m scry stats`
10-
4. (Optional:) Clear your database: `python -m scry clear`
11-
5. Test with `pytest -q` (Pytest package required)
11+
- Draw a random card and add it to your database with `scry random`
12+
- Get a list of cards based on a scryfall [search query](https://scryfall.com/docs/syntax) and add them to your database:
13+
- `scry list "set:blb"` returns unique cards from the Bloomburrow set and shows stats for that list.
14+
- Request a list of set releases with: `scry setcodes`
15+
- Return stats for your entire database: `scry stats`
16+
- (Optional:) Clear your database: `scry clear`
17+
18+
## about
19+
20+
Made with python and sqlite, and requests to the [scryfall](https://scryfall.com/docs/api) API.
21+
This is a personal project to learn more about python packaging, sqlite, pytest, and MTG sets.

0 commit comments

Comments
 (0)