Skip to content

Commit db147f8

Browse files
authored
Merge pull request #69 from NandaScott/develop
Develop
2 parents 8610e07 + b46bc77 commit db147f8

File tree

11 files changed

+270
-64
lines changed

11 files changed

+270
-64
lines changed

.github/workflows/tests.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,22 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
87
runs-on: ubuntu-latest
98
strategy:
109
matrix:
11-
python-version: [3.5, 3.6, 3.7, 3.8]
10+
python-version: [3.6, 3.7, 3.8, 3.9]
1211

1312
steps:
14-
- uses: actions/checkout@v2
15-
- name: Set up Python ${{ matrix.python-version }}
16-
uses: actions/setup-python@v2
17-
with:
18-
python-version: ${{ matrix.python-version }}
19-
- name: Install dependencies
20-
run: |
21-
python -m pip install --upgrade pip
22-
pip install pytest
23-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
24-
- name: Test with pytest
25-
run: |
26-
pytest
13+
- uses: actions/checkout@v2
14+
- name: Set up Python ${{ matrix.python-version }}
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: ${{ matrix.python-version }}
18+
- name: Install dependencies
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install pytest
22+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
23+
- name: Test with pytest
24+
run: |
25+
pytest

docs/scrython.cards/ArenaId.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,17 @@ The rank of the card on edhrec.com
151151
Returns:
152152
int: The rank of the card on edhrec.co
153153
154+
```
155+
---
156+
### `finishes()`
157+
158+
```
159+
A list of computer-readable flags that indicate if this card
160+
can come in foil, nonfoil, etched, or glossy finishes.
161+
162+
Returns:
163+
list: A list of all finishes.
164+
154165
```
155166
---
156167
### `flavor_text()`
@@ -166,8 +177,10 @@ The flavor text of the card, if any
166177
### `foil()`
167178

168179
```
169-
True if this printing exists in a foil version
170-
180+
True if this printing exists in a foil version.
181+
182+
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
183+
171184
Returns:
172185
boolean
173186
@@ -387,6 +400,8 @@ The oracle name of the card
387400

388401
```
389402
True if this printing does not exist in foil
403+
404+
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
390405
391406
Returns:
392407
boolean
@@ -463,7 +478,7 @@ Preview information for this card, if any.
463478
### `prices()`
464479

465480
```
466-
Returns prices from modes `usd`, `usd_foil`, `eur`, and `tix`
481+
Returns prices from modes `usd`, `usd_foil`, `usd_etched`, `usd_glossy`, `eur`, and `tix`
467482
468483
Args:
469484
mode (string): The prices to get
@@ -665,6 +680,16 @@ True if this card is featured in the story
665680
Returns:
666681
boolean
667682
683+
```
684+
---
685+
### `tcgplayer_etched_id()`
686+
687+
```
688+
The `etched_id` of the card on TCGplayer.
689+
690+
Returns:
691+
integer: The TCGplayer etched id of the card
692+
668693
```
669694
---
670695
### `tcgplayer_id()`

docs/scrython.cards/Collector.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,17 @@ The rank of the card on edhrec.com
148148
Returns:
149149
int: The rank of the card on edhrec.co
150150
151+
```
152+
---
153+
### `finishes()`
154+
155+
```
156+
A list of computer-readable flags that indicate if this card
157+
can come in foil, nonfoil, etched, or glossy finishes.
158+
159+
Returns:
160+
list: A list of all finishes.
161+
151162
```
152163
---
153164
### `flavor_text()`
@@ -163,8 +174,10 @@ The flavor text of the card, if any
163174
### `foil()`
164175

165176
```
166-
True if this printing exists in a foil version
167-
177+
True if this printing exists in a foil version.
178+
179+
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
180+
168181
Returns:
169182
boolean
170183
@@ -384,6 +397,8 @@ The oracle name of the card
384397

385398
```
386399
True if this printing does not exist in foil
400+
401+
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
387402
388403
Returns:
389404
boolean
@@ -460,7 +475,7 @@ Preview information for this card, if any.
460475
### `prices()`
461476

462477
```
463-
Returns prices from modes `usd`, `usd_foil`, `eur`, and `tix`
478+
Returns prices from modes `usd`, `usd_foil`, `usd_etched`, `usd_glossy`, `eur`, and `tix`
464479
465480
Args:
466481
mode (string): The prices to get
@@ -662,6 +677,16 @@ True if this card is featured in the story
662677
Returns:
663678
boolean
664679
680+
```
681+
---
682+
### `tcgplayer_etched_id()`
683+
684+
```
685+
The `etched_id` of the card on TCGplayer.
686+
687+
Returns:
688+
integer: The TCGplayer etched id of the card
689+
665690
```
666691
---
667692
### `tcgplayer_id()`

docs/scrython.cards/Id.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,17 @@ The rank of the card on edhrec.com
151151
Returns:
152152
int: The rank of the card on edhrec.co
153153
154+
```
155+
---
156+
### `finishes()`
157+
158+
```
159+
A list of computer-readable flags that indicate if this card
160+
can come in foil, nonfoil, etched, or glossy finishes.
161+
162+
Returns:
163+
list: A list of all finishes.
164+
154165
```
155166
---
156167
### `flavor_text()`
@@ -166,8 +177,10 @@ The flavor text of the card, if any
166177
### `foil()`
167178

168179
```
169-
True if this printing exists in a foil version
170-
180+
True if this printing exists in a foil version.
181+
182+
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
183+
171184
Returns:
172185
boolean
173186
@@ -387,6 +400,8 @@ The oracle name of the card
387400

388401
```
389402
True if this printing does not exist in foil
403+
404+
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
390405
391406
Returns:
392407
boolean
@@ -463,7 +478,7 @@ Preview information for this card, if any.
463478
### `prices()`
464479

465480
```
466-
Returns prices from modes `usd`, `usd_foil`, `eur`, and `tix`
481+
Returns prices from modes `usd`, `usd_foil`, `usd_etched`, `usd_glossy`, `eur`, and `tix`
467482
468483
Args:
469484
mode (string): The prices to get
@@ -665,6 +680,16 @@ True if this card is featured in the story
665680
Returns:
666681
boolean
667682
683+
```
684+
---
685+
### `tcgplayer_etched_id()`
686+
687+
```
688+
The `etched_id` of the card on TCGplayer.
689+
690+
Returns:
691+
integer: The TCGplayer etched id of the card
692+
668693
```
669694
---
670695
### `tcgplayer_id()`

docs/scrython.cards/Mtgo.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,17 @@ The rank of the card on edhrec.com
151151
Returns:
152152
int: The rank of the card on edhrec.co
153153
154+
```
155+
---
156+
### `finishes()`
157+
158+
```
159+
A list of computer-readable flags that indicate if this card
160+
can come in foil, nonfoil, etched, or glossy finishes.
161+
162+
Returns:
163+
list: A list of all finishes.
164+
154165
```
155166
---
156167
### `flavor_text()`
@@ -166,8 +177,10 @@ The flavor text of the card, if any
166177
### `foil()`
167178

168179
```
169-
True if this printing exists in a foil version
170-
180+
True if this printing exists in a foil version.
181+
182+
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
183+
171184
Returns:
172185
boolean
173186
@@ -387,6 +400,8 @@ The oracle name of the card
387400

388401
```
389402
True if this printing does not exist in foil
403+
404+
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
390405
391406
Returns:
392407
boolean
@@ -463,7 +478,7 @@ Preview information for this card, if any.
463478
### `prices()`
464479

465480
```
466-
Returns prices from modes `usd`, `usd_foil`, `eur`, and `tix`
481+
Returns prices from modes `usd`, `usd_foil`, `usd_etched`, `usd_glossy`, `eur`, and `tix`
467482
468483
Args:
469484
mode (string): The prices to get
@@ -665,6 +680,16 @@ True if this card is featured in the story
665680
Returns:
666681
boolean
667682
683+
```
684+
---
685+
### `tcgplayer_etched_id()`
686+
687+
```
688+
The `etched_id` of the card on TCGplayer.
689+
690+
Returns:
691+
integer: The TCGplayer etched id of the card
692+
668693
```
669694
---
670695
### `tcgplayer_id()`

docs/scrython.cards/Multiverse.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,17 @@ The rank of the card on edhrec.com
151151
Returns:
152152
int: The rank of the card on edhrec.co
153153

154+
```
155+
---
156+
### `finishes()`
157+
158+
```
159+
A list of computer-readable flags that indicate if this card
160+
can come in foil, nonfoil, etched, or glossy finishes.
161+
162+
Returns:
163+
list: A list of all finishes.
164+
154165
```
155166
---
156167
### `flavor_text()`
@@ -166,8 +177,10 @@ The flavor text of the card, if any
166177
### `foil()`
167178

168179
```
169-
True if this printing exists in a foil version
170-
180+
True if this printing exists in a foil version.
181+
182+
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
183+
171184
Returns:
172185
boolean
173186

@@ -387,6 +400,8 @@ The oracle name of the card
387400

388401
```
389402
True if this printing does not exist in foil
403+
404+
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
390405

391406
Returns:
392407
boolean
@@ -463,7 +478,7 @@ Preview information for this card, if any.
463478
### `prices()`
464479

465480
```
466-
Returns prices from modes `usd`, `usd_foil`, `eur`, and `tix`
481+
Returns prices from modes `usd`, `usd_foil`, `usd_etched`, `usd_glossy`, `eur`, and `tix`
467482

468483
Args:
469484
mode (string): The prices to get
@@ -665,6 +680,16 @@ True if this card is featured in the story
665680
Returns:
666681
boolean
667682

683+
```
684+
---
685+
### `tcgplayer_etched_id()`
686+
687+
```
688+
The `etched_id` of the card on TCGplayer.
689+
690+
Returns:
691+
integer: The TCGplayer etched id of the card
692+
668693
```
669694
---
670695
### `tcgplayer_id()`

0 commit comments

Comments
 (0)