Hearthstone Wiki:Projects/Id adding


 * Purposed by: Use25 (talk) 16:47, 29 April 2021 (UTC)
 * Status: Active.

Goals

 * All card data must have,  ,

Why?

 * Our database is lacking any direct commection with Hearthstone's actual card database. Card database has, which is a primary key and a must-have to define cards, while   is not, but it is unique and used mainly for naming images and audio files.
 * Both  and   will tremendously help us track the card changes between two versions of card database without relying on manual ways (going to gameplay, doing adventures, etc,...). It may even point out hidden changes that even gameplay screens don't display.
 * They also help us sync with other custom databases, espcially the upcoming Audio database. Primary keys and unique attributes are always needed for referencing other databases.

What to do

 * https://api.hearthstonejson.com/v1/ has provided the most accurate and most Hearthstone-related database possible. This will be our main resource. Check out the most bottom directory for the lastest database.
 * Start editing card data and adding the,   and   values to the data.
 * This requires knowledge of basic databases. You can check out ways to use JSON files, like converting them into an Excel table, or view it through apps like Postman. In case you don't know, JSON and XML are databases' best friends.
 * Our database used to rely on hearthpwn's ids, which are customed and do not relate to Hearthstone at all. However, there is a trick to track down the actual  by checking their image's file names. Of course, you don't need to do this unless it's an uncollectible card and there are many cards with the same name.
 * Use  to check its PlayHearthstone link:  . If the page exists, set   value to  . Otherwise,.
 * I suggest editing a batch of card data by card sets, starting from latest (Forged in the Barrens). You can sort the  values.

Examples

 * Done
 * Data:Cards/Twisting Nether(398)
 * Data:Cards/Elven Archer(356)
 * And all Legacy cards

Other information

 * https://api.hearthstonejson.com/v1/
 * https://develop.battle.net/
 * You can also add,  ,   values as our data's PAGENAME. (without   part) if you encounter cards that have the following versions.