2018-02-07 03:01:08 +00:00
|
|
|
from .cards_object import CardsObject
|
2018-01-25 20:27:56 +00:00
|
|
|
|
2018-01-11 03:04:03 +00:00
|
|
|
|
2018-02-07 03:01:08 +00:00
|
|
|
class Random(CardsObject):
|
2018-02-21 19:42:58 +00:00
|
|
|
"""
|
|
|
|
cards/random
|
|
|
|
Get a random card.
|
|
|
|
|
|
|
|
Positional arguments:
|
|
|
|
No arguments are required.
|
|
|
|
|
|
|
|
Optional arguments:
|
|
|
|
All arguments are inherited from CardsObject
|
|
|
|
|
|
|
|
Attributes:
|
|
|
|
All attributes are inherited from CardsObject
|
|
|
|
|
|
|
|
Example usage:
|
|
|
|
>>> card = scrython.cards.Random()
|
|
|
|
>>> card.purchase_uris()
|
|
|
|
"""
|
2018-01-30 03:32:08 +00:00
|
|
|
def __init__(self):
|
2018-02-14 02:02:48 +00:00
|
|
|
self.url = 'cards/random?'
|
2018-01-31 00:32:39 +00:00
|
|
|
super(Random, self).__init__(self.url)
|