Skip to main content

Installation

You can install it with pip3:

pip3 install yugioh

Usage

Get card by name:

import yugioh

card = yugioh.get_card(card_name = "The Wicked Dreadroot")
print(card.name) #Returns "The Wicked Dreadroot"
print(card.archetype) #Returns "Wicked God"
print(card.attack) #Returns "4000"

Get card by ID:

import yugioh

card = yugioh.get_card(card_id = "62180201")
print(card.attack) #Returns "4000"
print(card.name) #Returns "The Wicked Dreadroot"

All cards with magician in their name:

import yugioh

cards = yugioh.get_cards_by_name(keyword = 'magician')
for card in cards.list:
    print(card)

Monster Attributes

Attribute

Description

name

The card’s name

archetype

The card’s archetype

attack

The card’s attack points

attribute

The card’s attribute

defense

The card’s defense points

description

The card’s description

id

The card’s ID

level

The card’s level

race

The card’s “race”

type

Monster/Normal card

cardmarket_price

The card’s Cardmarket price

tcgplayer_price

The card’s Tcgplayer price

ebay_price

The card’s eBay price

amazon_price

The card’s Amazon price

ebay_price

The card’s eBay price

coolstuffinc_price

The card’s CoolStuffInc price

Spell/Trap/Skill Attributes

Attribute

Description

description

The card’s description

id

The card’s ID

name

The card’s name

type

The card’s type

race

The card’s “race”

cardmarket_price

The card’s Cardmarket price

tcgplayer_price

The card’s Tcgplayer price

ebay_price

The card’s eBay price

amazon_price

The card’s Amazon price

ebay_price

The card’s eBay price

coolstuffinc_price

The card’s CoolStuffInc price

Please report all issues here.

Metadata

Release files for yugioh 0.0.26

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yugioh 0.0.26
File Size Uploaded
yugioh-0.0.26.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yugioh 0.0.26
File Interpreter ABI Platform
yugioh-0.0.26-py3-none-any.whl Python 3 none any Details

Total release size: 5.2 kB

Release files / yugioh-0.0.26.tar.gz

Download URL yugioh-0.0.26.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6496f05c62c5abea71a1703e8cde092594d5a7dc3382b1430c4e9b46bcac7022
BLAKE2b-256 checksum
How to use checksums
87544ae8e348ccd6bd8936101945ad005d2faedd72b3a4f76dbc1e016d4f6141
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

Release files / yugioh-0.0.26-py3-none-any.whl

Download URL yugioh-0.0.26-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5652e50a0307d67ff1cbe7ca5b4c5fcaede8178ef271eb0fd55266e12b43300b
BLAKE2b-256 checksum
How to use checksums
aadd2338838553e1c8062c83194d70aa4b81754252841e374ef1bd4b55b71a14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

Release history Release notifications | RSS feed

This release

0.0.26 This release

2 release files

0.0.25

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page