Skip to content

Commit

Permalink
Merge pull request #69 from NandaScott/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
NandaScott authored Sep 6, 2021
2 parents 8610e07 + b46bc77 commit db147f8
Show file tree
Hide file tree
Showing 11 changed files with 270 additions and 64 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,22 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]
python-version: [3.6, 3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
pytest
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
pytest
31 changes: 28 additions & 3 deletions docs/scrython.cards/ArenaId.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,17 @@ The rank of the card on edhrec.com
Returns:
int: The rank of the card on edhrec.co
```
---
### `finishes()`

```
A list of computer-readable flags that indicate if this card
can come in foil, nonfoil, etched, or glossy finishes.
Returns:
list: A list of all finishes.
```
---
### `flavor_text()`
Expand All @@ -166,8 +177,10 @@ The flavor text of the card, if any
### `foil()`

```
True if this printing exists in a foil version
True if this printing exists in a foil version.
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
Returns:
boolean
Expand Down Expand Up @@ -387,6 +400,8 @@ The oracle name of the card

```
True if this printing does not exist in foil
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
Returns:
boolean
Expand Down Expand Up @@ -463,7 +478,7 @@ Preview information for this card, if any.
### `prices()`

```
Returns prices from modes `usd`, `usd_foil`, `eur`, and `tix`
Returns prices from modes `usd`, `usd_foil`, `usd_etched`, `usd_glossy`, `eur`, and `tix`
Args:
mode (string): The prices to get
Expand Down Expand Up @@ -665,6 +680,16 @@ True if this card is featured in the story
Returns:
boolean
```
---
### `tcgplayer_etched_id()`

```
The `etched_id` of the card on TCGplayer.
Returns:
integer: The TCGplayer etched id of the card
```
---
### `tcgplayer_id()`
Expand Down
31 changes: 28 additions & 3 deletions docs/scrython.cards/Collector.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,17 @@ The rank of the card on edhrec.com
Returns:
int: The rank of the card on edhrec.co
```
---
### `finishes()`

```
A list of computer-readable flags that indicate if this card
can come in foil, nonfoil, etched, or glossy finishes.
Returns:
list: A list of all finishes.
```
---
### `flavor_text()`
Expand All @@ -163,8 +174,10 @@ The flavor text of the card, if any
### `foil()`

```
True if this printing exists in a foil version
True if this printing exists in a foil version.
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
Returns:
boolean
Expand Down Expand Up @@ -384,6 +397,8 @@ The oracle name of the card

```
True if this printing does not exist in foil
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
Returns:
boolean
Expand Down Expand Up @@ -460,7 +475,7 @@ Preview information for this card, if any.
### `prices()`

```
Returns prices from modes `usd`, `usd_foil`, `eur`, and `tix`
Returns prices from modes `usd`, `usd_foil`, `usd_etched`, `usd_glossy`, `eur`, and `tix`
Args:
mode (string): The prices to get
Expand Down Expand Up @@ -662,6 +677,16 @@ True if this card is featured in the story
Returns:
boolean
```
---
### `tcgplayer_etched_id()`

```
The `etched_id` of the card on TCGplayer.
Returns:
integer: The TCGplayer etched id of the card
```
---
### `tcgplayer_id()`
Expand Down
31 changes: 28 additions & 3 deletions docs/scrython.cards/Id.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,17 @@ The rank of the card on edhrec.com
Returns:
int: The rank of the card on edhrec.co
```
---
### `finishes()`

```
A list of computer-readable flags that indicate if this card
can come in foil, nonfoil, etched, or glossy finishes.
Returns:
list: A list of all finishes.
```
---
### `flavor_text()`
Expand All @@ -166,8 +177,10 @@ The flavor text of the card, if any
### `foil()`

```
True if this printing exists in a foil version
True if this printing exists in a foil version.
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
Returns:
boolean
Expand Down Expand Up @@ -387,6 +400,8 @@ The oracle name of the card

```
True if this printing does not exist in foil
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
Returns:
boolean
Expand Down Expand Up @@ -463,7 +478,7 @@ Preview information for this card, if any.
### `prices()`

```
Returns prices from modes `usd`, `usd_foil`, `eur`, and `tix`
Returns prices from modes `usd`, `usd_foil`, `usd_etched`, `usd_glossy`, `eur`, and `tix`
Args:
mode (string): The prices to get
Expand Down Expand Up @@ -665,6 +680,16 @@ True if this card is featured in the story
Returns:
boolean
```
---
### `tcgplayer_etched_id()`

```
The `etched_id` of the card on TCGplayer.
Returns:
integer: The TCGplayer etched id of the card
```
---
### `tcgplayer_id()`
Expand Down
31 changes: 28 additions & 3 deletions docs/scrython.cards/Mtgo.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,17 @@ The rank of the card on edhrec.com
Returns:
int: The rank of the card on edhrec.co
```
---
### `finishes()`

```
A list of computer-readable flags that indicate if this card
can come in foil, nonfoil, etched, or glossy finishes.
Returns:
list: A list of all finishes.
```
---
### `flavor_text()`
Expand All @@ -166,8 +177,10 @@ The flavor text of the card, if any
### `foil()`

```
True if this printing exists in a foil version
True if this printing exists in a foil version.
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
Returns:
boolean
Expand Down Expand Up @@ -387,6 +400,8 @@ The oracle name of the card

```
True if this printing does not exist in foil
DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.
Returns:
boolean
Expand Down Expand Up @@ -463,7 +478,7 @@ Preview information for this card, if any.
### `prices()`

```
Returns prices from modes `usd`, `usd_foil`, `eur`, and `tix`
Returns prices from modes `usd`, `usd_foil`, `usd_etched`, `usd_glossy`, `eur`, and `tix`
Args:
mode (string): The prices to get
Expand Down Expand Up @@ -665,6 +680,16 @@ True if this card is featured in the story
Returns:
boolean
```
---
### `tcgplayer_etched_id()`

```
The `etched_id` of the card on TCGplayer.
Returns:
integer: The TCGplayer etched id of the card
```
---
### `tcgplayer_id()`
Expand Down
31 changes: 28 additions & 3 deletions docs/scrython.cards/Multiverse.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,17 @@ The rank of the card on edhrec.com
Returns:
int: The rank of the card on edhrec.co

```
---
### `finishes()`

```
A list of computer-readable flags that indicate if this card
can come in foil, nonfoil, etched, or glossy finishes.

Returns:
list: A list of all finishes.

```
---
### `flavor_text()`
Expand All @@ -166,8 +177,10 @@ The flavor text of the card, if any
### `foil()`

```
True if this printing exists in a foil version

True if this printing exists in a foil version.

DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.

Returns:
boolean

Expand Down Expand Up @@ -387,6 +400,8 @@ The oracle name of the card

```
True if this printing does not exist in foil

DEPRECATION NOTICE: This method will be deprecated on Nov 1, 2021.

Returns:
boolean
Expand Down Expand Up @@ -463,7 +478,7 @@ Preview information for this card, if any.
### `prices()`

```
Returns prices from modes `usd`, `usd_foil`, `eur`, and `tix`
Returns prices from modes `usd`, `usd_foil`, `usd_etched`, `usd_glossy`, `eur`, and `tix`

Args:
mode (string): The prices to get
Expand Down Expand Up @@ -665,6 +680,16 @@ True if this card is featured in the story
Returns:
boolean

```
---
### `tcgplayer_etched_id()`

```
The `etched_id` of the card on TCGplayer.

Returns:
integer: The TCGplayer etched id of the card

```
---
### `tcgplayer_id()`
Expand Down
Loading

0 comments on commit db147f8

Please sign in to comment.