2018-01-30 04:43:36 +00:00
|
|
|
from .scryfall_object import ScryfallObject
|
2018-01-11 03:04:03 +00:00
|
|
|
|
2018-01-30 03:54:20 +00:00
|
|
|
class Id(ScryfallObject):
|
2018-01-11 03:07:15 +00:00
|
|
|
""" cards/:id
|
2018-01-11 03:04:03 +00:00
|
|
|
|
|
|
|
Parameters:
|
|
|
|
id: str The Scryfall id of the card.
|
|
|
|
"""
|
|
|
|
|
2018-01-30 03:54:20 +00:00
|
|
|
def __init__(self, **kwargs):
|
|
|
|
self.id = kwargs.get('id')
|
|
|
|
self.url = 'cards/' + str(self.id)
|
|
|
|
super(Id, self).__init__(self.url)
|