Yu-Gi-Oh! Deck Building and Card Inventory Management web interface written in Common Lisp, utilizing HTMX.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ygoprodeck-import.md 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. # Introduction
  2. The [Yu-Gi-Oh! API by YGOPRODeck](https://ygoprodeck.com/api-guide/) provides the following information.
  3. # Data
  4. The base data for cards. This is always returned, without asking for `?misc=Yes`.
  5. JSON Node Name: `data`
  6. ## All Cards
  7. Every card has these attributes.
  8. - `id`: Passcode on the bottom left of the card.
  9. - `desc`: Card description / effect text.
  10. - `frameType`: The backdrop type that this card uses (normal, effect, synchro, spell, trap, etc.).
  11. - `name`: Name of the card.
  12. - `type`: The type of card you are viewing (Normal Monster, Effect Monster, Synchro Monster, Spell Card, Trap Card, etc.).
  13. ## Monster Cards
  14. Cards that attack or defende have ATK and DEF. E.g. Spell and Trap do
  15. not have these attributes, except Race. The Race of a Spell card is
  16. "Spell" and the Race of a trap card is "Trap".
  17. - `atk`: The ATK value of the card.
  18. - `attribute`: The attribute of the card.
  19. - `def`: The DEF value of the card.
  20. - `level`: The Level/RANK of the card.
  21. - `race`: The card race which is officially called type (Spellcaster, Warrior, Insect, etc).
  22. ## Spell/Trap Cards
  23. - `race`: The card race which is officially called type for Spell/Trap Cards (Field, Equip, Counter, etc).
  24. ## Card Archetype
  25. - `archetype`: The Archetype that the card belongs to. Alan takes
  26. feedback on Archetypes
  27. [here](https://github.com/AlanOC91/YGOPRODeck/issues/10).
  28. ## Additional Response for Pendulum Monsters
  29. - `scale`: The Pendulum Scale Value.
  30. ## Additional Response for Link Monsters
  31. - `linkval`: The Link Value of the card if it's of type "Link Monster".
  32. - `linkmarkers`: The Link Markers of the card if it's of type "Link Monster". This information is returned as an array.
  33. # Set Info
  34. JSON Node Name: `data.card_sets`
  35. Fields:
  36. - `set_code`
  37. - `set_name`
  38. - `set_price`
  39. - `set_rarity`
  40. - `set_rarity_code`
  41. # Images
  42. JSON Node Name: `data.card_images`
  43. Fields:
  44. - `image_url`
  45. - `image_url_cropped`
  46. - `image_url_small`
  47. # Pricing
  48. JSON Node Name: `data.card_prices`
  49. Fields:
  50. - `amazon_price`
  51. - `cardmarket_price`
  52. - `coolstuffinc_price`
  53. - `ebay_price`
  54. - `tcgplayer_price`
  55. # `misc_info`
  56. JSON Node Name: `data.misc_info`
  57. Fields:
  58. - `beta_id`
  59. - `beta_name`
  60. - `downvotes`
  61. - `has_effect`
  62. - `konami_id`
  63. - `misc_info`
  64. - `ocg_date`
  65. - `question_atk`
  66. - `question_def`
  67. - `staple`
  68. - `tcg_date`
  69. - `treated_as`
  70. - `upvotes`
  71. - `views`
  72. - `viewsweek`
  73. [Using &misc=yes will now show question_atk and/or question_def to be 1 for true if a card is found to have a ? in the data.]
  74. (https://github.com/AlanOC91/YGOPRODeck/issues/152#issuecomment-1032552854)
  75. ## Banlist Info
  76. JSON Node Name: `data.misc_info.banlist_info`
  77. Fields:
  78. - `ban_goat`
  79. - `ban_ocg`
  80. - `ban_tcg`
  81. ## Formats
  82. JSON Node Name: `data.misc_info.formats`
  83. Values:
  84. - `Common Charity`
  85. - `Duel Links`
  86. - `Edison`
  87. - `GOAT`
  88. - `OCG`
  89. - `OCG GOAT`
  90. - `Speed Duel`
  91. - `TCG`
  92. ## Link Markers
  93. JSON Node Name: `data.misc_info.linkmarkers`
  94. Values:
  95. - `Top`
  96. - `Top-Right`
  97. - `Right`
  98. - `Bottom-Right`
  99. - `Bottom`
  100. - `Bottom-Left`
  101. - `Left`
  102. - `Top-Left`