Yu-Gi-Oh! Deck Building and Card Inventory Management web interface written in Common Lisp, utilizing HTMX.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #|
-
- src/models/ygoprodeck.lisp
-
- Yu-Gi-Oh! Pro Deck JSON Importer v1
-
- Looks like this is old/outdated code and due to be deleted soon!
-
- |#
-
- (in-package #:cl-deck-builder2.models.ygoprodeck)
-
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;; These models correspond to the YGOProDeck JSON dump. API Guide:
- ;; https://ygoprodeck.com/api-guide/
- (defclass ygo-info ()
- ((desc :accessor ygo-description-of :col-type :text)
- (frame-type :accessor ygo-frame-type-of :col-type :text)
- (type :accessor ygo-type-of :col-type :text)
- (passcode :accessor ygo-passcode-of :col-type :integer)
- (name :accessor name-of :col-type :text)
- (race :accessor ygo-race-of :col-type :text)
- (archetype :accessor ygo-archetype-of :col-type (or :text :null))
- (attribute :accessor ygo-attribute-of :col-type (or :text :null))
- (linkmarkers :accessor ygo-linkmarkers-of :col-type (or :text :null))
- (atk :accessor ygo-atk-of :col-type (or :integer :null))
- (def :accessor ygo-def-of :col-type (or :integer :null))
- (level :accessor ygo-level-of :col-type (or :integer :null))
- (linkval :accessor ygo-linkval-of :col-type (or :integer :null))
- (scale :accessor ygo-scale-of :col-type (or :integer :null)))
- (:metaclass registered-table-class))
-
- ;; banlist_info
- ;; card_images
- ;; card_prices
- ;; card_sets
- ;; jq '.[][]|{card_sets}|select( .card_sets != null )|.[][]' cardinfo.php
|