Added enchantment types to catalog.
This commit is contained in:
parent
ac92a0173e
commit
f80c7b15c8
|
@ -22,6 +22,7 @@ from scrython.sets import Sets
|
||||||
from scrython.catalog import ArtifactTypes
|
from scrython.catalog import ArtifactTypes
|
||||||
from scrython.catalog import CardNames
|
from scrython.catalog import CardNames
|
||||||
from scrython.catalog import CreatureTypes
|
from scrython.catalog import CreatureTypes
|
||||||
|
from scrython.catalog import EnchantmentTypes
|
||||||
from scrython.catalog import LandTypes
|
from scrython.catalog import LandTypes
|
||||||
from scrython.catalog import Loyalties
|
from scrython.catalog import Loyalties
|
||||||
from scrython.catalog import PlaneswalkerTypes
|
from scrython.catalog import PlaneswalkerTypes
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
from .artifact_types import ArtifactTypes
|
from .artifact_types import ArtifactTypes
|
||||||
from .card_names import CardNames
|
from .card_names import CardNames
|
||||||
from .creature_types import CreatureTypes
|
from .creature_types import CreatureTypes
|
||||||
|
from .enchantment_types import EnchantmentTypes
|
||||||
from .land_types import LandTypes
|
from .land_types import LandTypes
|
||||||
from .loyalties import Loyalties
|
from .loyalties import Loyalties
|
||||||
from .planeswalker_types import PlaneswalkerTypes
|
from .planeswalker_types import PlaneswalkerTypes
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
from .catalogs_object import CatalogsObject
|
||||||
|
|
||||||
|
class EnchantmentTypes(CatalogsObject):
|
||||||
|
"""
|
||||||
|
catalogs/enchantment-types
|
||||||
|
|
||||||
|
Catalog object for all known enchantment types.
|
||||||
|
|
||||||
|
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.EnchantmentTypes()
|
||||||
|
>>> catalog.data()
|
||||||
|
"""
|
||||||
|
def __init__(self):
|
||||||
|
self._url = 'catalog/enchantment-types?'
|
||||||
|
super(EnchantmentTypes, self).__init__(self._url)
|
Loading…
Reference in New Issue