Commits

John Louis del Rosario committed 435373e

update readme

Comments (0)

Files changed (1)

 
 Python 2.7 (works with 2.6 but `argparse` library needs to be installed)
 
+## Structure ##
+
+### Cards ###
+
+- Name TEXT
+- [Set] TEXT
+- Slug TEXT
+- ImageFile TEXT
+- Color TEXT
+- Cost TEXT
+- ConvertedCost TEXT
+- Type TEXT
+- Power TEXT
+- Toughness TEXT
+- Rarity TEXT
+- RulesText TEX
+
+    SELECT * FROM Cards WHERE Slug = 'lightning-bolt'
+
+### CardImages ###
+
+- [Set] TEXT
+- Slug TEXT
+- ImageFile TEXT
+- ImageURL TEXT
+
+    SELECT c.Name, ci.ImageURL FROM Cards c JOIN CardImages ON c.Slug = ci.Slug WHERE Slug = 'lightning-bolt'
+
 ## Issues ##
 
 Still has a few [issues](https://bitbucket.org/john2x/mtgcards/issues), but should be enough to get started.