CCG Card Search
http://daccg.com/ccgsearch/The following fields do exact match: mana cost, cmc, power, toughness, loyalty
Color is inclusive (will find gold cards).
The rule field accepts these wildcards:
Dot (.) allows you to match any single character.
Dot+Asterisk (.*) allows you to match any string of zero or more characters.
Hover over keywords to display its rules in this box.
API
http://daccg.com/ccgsearch/ajax_ccgsearch.phpFields are cardname, color, cost, cmc, supertype, cardtype, subtype, rule, power, toughness, loyalty.
Entire cards are returned as array of JSON objects, except cardname and cardtype are returned as name and type, respectively. (see
ccgsearch.js for example of how to extract these objects)
Can retrieve rules using 'keyword' field.
Returns as array of one JSON object with fields keyword and rule.
Ex:
http://daccg.com/ccgsearch/ajax_ccgsearch.php?keyword=flying
to extract:
keyword = data[0].keyword;
rule = data[0].rule;
Changelog:
TODO.:
- import AllSets data
- allow +- symbols in rules search. +1/+1, -1/-1
- allow wildcards in mana search