YGOPRODeck icon indicating copy to clipboard operation
YGOPRODeck copied to clipboard

Ultimate Offering has the wrong card ID

Open cowlicker12 opened this issue 2 years ago • 3 comments

In your API, Ultimate Offering has card ID 80604092 but DuelingBook has this card's ID as 80604091. I found this because I was looking at this Machina deck in DuelingBook (https://www.duelingbook.com/deck?id=6539132) and downloaded the ydk file, then imported into a table and compared to your card list from your API.

If you end up fixing this please reply back to this post so I can re-download the card list. This API is fantastic, thanks!

cowlicker12 avatar Jun 20 '23 18:06 cowlicker12

We have both. The incremented one is for the Ultimate Offering alternative art. We utilize incremented IDs for alternative art. I believe other Yuigoh utilities also do this.

https://db.ygoprodeck.com/api/v7/cardinfo.php?id=80604091

https://db.ygoprodeck.com/api/v7/cardinfo.php?id=80604091

AlanOC91 avatar Jun 20 '23 18:06 AlanOC91

As a follow up, you can also do this which shows all alternative IDs:

https://db.ygoprodeck.com/api/v7/cardinfo.php?name=Ultimate%20Offering&misc=yes

AlanOC91 avatar Jun 20 '23 18:06 AlanOC91

But if you go to https://db.ygoprodeck.com/api/v7/cardinfo.php and use the "Filter JSON" field to type in "ultimate offering", it only returns 1 node at 11660 for card ID 80604092. This full card list is what I downloaded and used to compare against the DuelingBook ydk file.

cowlicker12 avatar Jun 20 '23 18:06 cowlicker12