Updated catalog to include artist_names
This commit is contained in:
parent
0df036a096
commit
732b2f34b6
|
@ -10,3 +10,4 @@ from .spell_types import SpellTypes
|
||||||
from .toughnesses import Toughnesses
|
from .toughnesses import Toughnesses
|
||||||
from .watermarks import Watermarks
|
from .watermarks import Watermarks
|
||||||
from .word_bank import WordBank
|
from .word_bank import WordBank
|
||||||
|
from .artist_names import ArtistNames
|
||||||
|
|
|
@ -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)
|
Loading…
Reference in New Issue