Yasuko
Member
- Joined
- Oct 28, 2010
- Messages
- 314
- Reaction score
- 6
A while back ago, I wrote a scraper to scrape Recipe information from XIVDB and compiled that information into a sqlite db to use whenever Mastahg put crafting support into RB.. I wanted to put it here incase anyone may find it useful.
So far the DB consists of a few tables.
(the above item information was gathered through RBs sqlite DB)
(All of the recipe information was gathered by scraping XIVDB.. They list the attempt level as the same level as the recipe.. I did not notice this till after scraping was done..)
A few things about this table.. I just realized that I incorrectly spelt Recipe in "ReceipeID". Also to note, that at the time of putting this db together, I had not gone through and added the ItemID to each item within the RecipeMaterial table.. but you can reference ItemName to the Item table above to get the itemid for each item if needed.
This DB does not have the current 2.5 recipes in it, since it was created a while back ago, and xivdb still is not updated for 2.5 patch.. I just figured it may be useful to someone who is doing a crafting plugin to have all the recipeIDs and materials without needing to reference to XIVDB for every recipe ID..
I'm not too familiar with DB Design and I apologize if I did it incorrectly.. Please let me know if you use it and have found any errors with the recipe information.. All of this was scraped automatically and I had not gone through and verified each recipe with the site.
View attachment RecipeDB.zip
So far the DB consists of a few tables.
Code:
Item
tableID | ItemID | ItemName | ItemLevel | RequiredLevel | StackSize | isCraftingItem
(the above item information was gathered through RBs sqlite DB)
Code:
Recipe
tableID | ID | Name | Class | Level | AttemptLevel | Yield
Code:
RecipeMaterial
tableID | ReceipeID | ItemID | ItemName | ItemAmount
A few things about this table.. I just realized that I incorrectly spelt Recipe in "ReceipeID". Also to note, that at the time of putting this db together, I had not gone through and added the ItemID to each item within the RecipeMaterial table.. but you can reference ItemName to the Item table above to get the itemid for each item if needed.
This DB does not have the current 2.5 recipes in it, since it was created a while back ago, and xivdb still is not updated for 2.5 patch.. I just figured it may be useful to someone who is doing a crafting plugin to have all the recipeIDs and materials without needing to reference to XIVDB for every recipe ID..
I'm not too familiar with DB Design and I apologize if I did it incorrectly.. Please let me know if you use it and have found any errors with the recipe information.. All of this was scraped automatically and I had not gone through and verified each recipe with the site.
View attachment RecipeDB.zip