Updated catalog to include artist_names

This commit is contained in:
Nanda Scott 2018-10-22 11:08:19 -04:00
parent 0df036a096
commit 732b2f34b6
2 changed files with 25 additions and 0 deletions

View File

@ -10,3 +10,4 @@ from .spell_types import SpellTypes
from .toughnesses import Toughnesses
from .watermarks import Watermarks
from .word_bank import WordBank
from .artist_names import ArtistNames

View File

@ -0,0 +1,24 @@
from .catalogs_object import CatalogsObject
class ArtistNames(CatalogsObject):
"""
catalogs/card-names
Catalog object for all known card names.
Positional Arguments:
No arguments are required.
Optional Arguments:
All arguments are inherited from CatalogsObject
Attributes:
All attributes are inherited from CatalogsObject
Example usage:
>>> catalog = scrython.catalog.CardNames()
>>> catalog.data()
"""
def __init__(self):
self._url = 'catalog/artist-names?'
super(ArtistNames, self).__init__(self._url)