yasuki_core.database.get_cards_by_names#

get_cards_by_names(names)[source]#

Fetch cards matching a list of names, including their prints.

Matches against both name and extended_title (case-insensitive). Used for deck import to resolve human-readable names to card records.

Parameters:
nameslist of str

Card names to look up

Returns:
cardslist of dict

Matched card records, each with a prints key containing a list of print dicts (print_id, set_name, image_path, flavor_text)