Giter VIP home page Giter VIP logo

yugioh-rarity-matrix's Introduction

YuGiOh-rarity-matrix

Creating an Excel sheet from a Duelingbook or YGOPro Decklist to display all rarities of all individual cards


Description

This tool is intended for checking the available card rarities of certain decklists. The code checks the script path for existing .ydk decklists, parses the data to the ygoprodeck API, and creates an Excel file providing the available released rarities and prices from TCGPlayer.com for each card.


How to use

The code uses the following external libraries which must be installed in order to use the code:

  • requests: pip install requests
  • openpyxl: pip install openpyxl
  1. Place any amount of .ydk files (tested for DuelingBook and EDOPro) inside the script folder.
  2. Run the script via command shell or batch file.
  3. An Excel file should be created.

*If you're using EDOPro files with pre-errata card versions, place the extensions folder from the EDOPro directory inside the script folder. The script checks if there is a pre-errata version and changes the ID to be properly found in the ygoprodeck API.


For anyone using an Android device

There is an app called "Pydroid 3" where you can run Python scripts. For viewing the Excel file, I've found WPS Office quite comfortable. Just make sure to activate word wrap while marking all cells.


Disclaimer

I'm quite new to programming and did this to reduce time while building decks I've tested online in a certain rarity. However, since I'm not too experienced, I'm glad for any code reviews or suggestions.

yugioh-rarity-matrix's People

Contributors

im-fbn avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.