This is the Elder Scrolls: Legends SDK Python implementation. It is a wrapper around the Elder Scrolls: Legends API of https://elderscrollslegends.io.
Python 3 is currently the only supported version for the sdk. More specifically, the package was developed using Python 3.6.
Using pip:
pip install elderscrollslegendssdk
Import
from elderscrollslegendssdk import Card
from elderscrollslegendssdk import Set
from elderscrollslegendssdk import Type
from elderscrollslegendssdk import Keyword
from elderscrollslegendssdk import Subtype
from elderscrollslegendssdk import Attribute
Card
Set
Type
Keyword
Subtype
Attribute
name
id
set
rarity
type
subtype
cost
power
health
soul_summon
soul_trap
text
attributes
keywords
unique
image_url
id
name
total_cards
release_date
card = Card.find('1fd81123ab3eca0b29c4c19757045db9757b4f1a')
cards = Card.where(type='creature', rarity='legendary')
cards = Card.all()
cards = Card.where(page=5)
set = Set.find('cs')
sets = Set.where(name='core')
sets = Set.all()
types = Type.all()
subtypes = Subtype.all()
attributes = Attribute.all()
keywords = Keyword.all()
- Fork it ( https://github.com/[my-github-username]/elder-scrolls-legends-sdk-python/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
python -m unittest discover -s tests/