Updated docstrings of all cards modules.
This commit is contained in:
parent
7e35da05c2
commit
83df7a5387
|
@ -2,7 +2,7 @@ import asyncio, aiohttp
|
|||
import json
|
||||
|
||||
class Collector(object):
|
||||
""" cards/named
|
||||
""" cards/:code/:collector_number
|
||||
|
||||
Parameters:
|
||||
code: int The 3 or 4 letter set code.
|
||||
|
|
|
@ -2,7 +2,7 @@ import asyncio, aiohttp
|
|||
import json
|
||||
|
||||
class Id(object):
|
||||
""" cards/named
|
||||
""" cards/:id
|
||||
|
||||
Parameters:
|
||||
id: str The Scryfall id of the card.
|
||||
|
|
|
@ -2,10 +2,10 @@ import asyncio, aiohttp
|
|||
import json
|
||||
|
||||
class Mtgo(object):
|
||||
""" cards/named
|
||||
""" cards/mtgo/:id
|
||||
|
||||
Parameters:
|
||||
id: int The multiverse id of the card.
|
||||
id: int The mtgo id of the card.
|
||||
format: str The data format to return: json, text, or image. Defaults to json.
|
||||
face: str If using the image format and this parameter has the value back,
|
||||
the back face of the card will be returned.
|
||||
|
|
|
@ -2,7 +2,7 @@ import asyncio, aiohttp
|
|||
import json
|
||||
|
||||
class RandomCard(object):
|
||||
""" cards/named
|
||||
""" cards/random
|
||||
|
||||
Parameters:
|
||||
format: str The data format to return: json, text, or image. Defaults to json.
|
||||
|
|
Loading…
Reference in New Issue