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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file yugiohdeck-api-0.0.1.dev7.tar.gz
.
File metadata
- Download URL: yugiohdeck-api-0.0.1.dev7.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cacf8f48c902a129834e4ce35da680f88329299f318c32a67d2eb7dad1f86812 |
|
MD5 | 9d7f60f932d731650da2bb64ccf56337 |
|
BLAKE2b-256 | c0ee2c146073b103e370d06f1aa87f4be9486edd3c550dc879d27e34c15fa98d |
Provenance
File details
Details for the file yugiohdeck_api-0.0.1.dev7-py3-none-any.whl
.
File metadata
- Download URL: yugiohdeck_api-0.0.1.dev7-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4df53354971d6b7e14a55a36839f57a1f30d710fe7f576edc048cd30868ef785 |
|
MD5 | 25cf16892b6c0054352e96f092fe93a3 |
|
BLAKE2b-256 | e8dee5d845c828aa0df082e40b78d5dd37cbc4667b126cdd5c18af32bf4e7c1a |