Skip to main content

Transforms yugiohdeck.github.io links into card data (and back)

Project description

About

This is a Python interface to yugiohdeck.github.io, which turns the Yu-Gi-Oh! Trading Card Game decks into easily shared links.

This interface allows conversion of decklist links to card data and back. Card data is sourced from YGOProDeck and optionally the YGOrganization DB.

Usage

import yugiohdeck

yugiohdeck.ParseURLPasscodes(url) - Parses a yugiohdeck URL and returns the card passcodes contained async yugiohdeck.ParseURLData(url) - Parses a yugiohdeck URL and returns the card passcodes contained + their API data yugiohdeck.GetDeckURL(deck) - Converts a deck into a yugiohdeck URL; deck should be (name, (main, extra, side)), same as is returned from the previous methods

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yugiohdeck-api-0.0.1.dev7.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

yugiohdeck_api-0.0.1.dev7-py3-none-any.whl (10.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page