diff --git a/scrython/catalog/__init__.py b/scrython/catalog/__init__.py index 6fc82dd..24923dc 100644 --- a/scrython/catalog/__init__.py +++ b/scrython/catalog/__init__.py @@ -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 diff --git a/scrython/catalog/artist_names.py b/scrython/catalog/artist_names.py new file mode 100644 index 0000000..2e10e3f --- /dev/null +++ b/scrython/catalog/artist_names.py @@ -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)