Scrython/scrython/cards/randomcard.py

9 lines
264 B
Python

from .scryfall_object import ScryfallObject
class Random(ScryfallObject):
"""This will return a random card. No parameters are passed while creating."""
def __init__(self):
self.url = 'cards/random'
super(Random, self).__init__(self.url)