You can install it with pip3:
pip3 install --upgrade git+https://github.com/EllieJaybee/yugioh.git
import yugioh
card = yugioh.get_card("The Wicked Dreadroot") #Accepts both name and ID
print(card.name) #Returns "The Wicked Dreadroot"
print(card.archetype) #Returns "Wicked God"
print(card.atk) #Returns "4000"
Attribute | Description |
name | The card's name |
archetype | The card's archetype |
atk | The card's attack points |
attribute | The card's attribute |
def_ | The card's defense points |
desc | The card's description |
id | The card's ID |
level | The card's level |
race | The card's "race" (type) |
type | Monster/Normal card |
Attribute | Description |
desc | The card's description |
id | The card's ID |
name | The card's name |
type | The card's type |
race | The card's "race" |
You can get further documentation from here.
Please report all issues here.