Updated docs.
This commit is contained in:
parent
0549b209a2
commit
148b2707f8
|
@ -19,12 +19,6 @@ All attributes are listed assuming the following
|
|||
|`ruling_published_at()`|String|The date when the ruling was published. Requires an integer as a parameter, which acts as a tuple.|
|
||||
|`ruling_comment()`|String|The effective ruling. Requires an integer as a parameter, which acts as a tuple.|
|
||||
|
||||
Example usage:
|
||||
|
||||
rule = scrython.rulings.Id(id="0f91d225-788e-42fc-9d01-8668f672b717")
|
||||
rule.ruling_comment(5)
|
||||
>>>"If you control multiple As Foretolds, you may cast one spell for each of them paying {0}."
|
||||
|
||||
## *class* `rulings.Id()`
|
||||
Gets the ruling of a card by the Scryfall Id.
|
||||
|
||||
|
@ -34,10 +28,6 @@ Gets the ruling of a card by the Scryfall Id.
|
|||
| :---: | :---: | :---: |:---: |
|
||||
|id|Yes|String|The id of the card you want rulings for.|
|
||||
|
||||
Example usage:
|
||||
|
||||
rule = scrython.rulings.Id(id='31412335-110c-449a-9c2f-bff8763a6504')
|
||||
|
||||
## *class* `rulings.Mtgo()`
|
||||
Gets the ruling of a card by the Mtgo Id.
|
||||
|
||||
|
@ -47,10 +37,6 @@ Gets the ruling of a card by the Mtgo Id.
|
|||
|:---:|:---:|:---:|:---:|
|
||||
|id|Yes|String|The Mtgo id of the card you want rulings for.|
|
||||
|
||||
Example usage:
|
||||
|
||||
rule = scrython.rulings.Mtgo(id="24811")
|
||||
|
||||
## *class* `rulings.Multiverse()`
|
||||
Gets the ruling of a card by the Multiverse Id.
|
||||
|
||||
|
@ -60,10 +46,6 @@ Gets the ruling of a card by the Multiverse Id.
|
|||
|:---:|:---:|:---:|:---:|
|
||||
|id|Yes|String|The Multiverse Id of the card you want rulings for.|
|
||||
|
||||
Example usage:
|
||||
|
||||
rule = scrython.rulings.Multiverse(id="124451")
|
||||
|
||||
## *class* `rulings.Code()`
|
||||
Gets the ruling of a card by the set code and collector number.
|
||||
|
||||
|
@ -73,7 +55,3 @@ Gets the ruling of a card by the set code and collector number.
|
|||
|:---:|:---:|:---:|:---:|
|
||||
|code|Yes|String|The 3 letter set code of the card.|
|
||||
|collector_number|Yes|String|The collector number of the card.|
|
||||
|
||||
Example usage:
|
||||
|
||||
rule = scrython.rulings.Code(code='CSP', collector_number='142')
|
||||
|
|
Loading…
Reference in New Issue