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